Commit Graph

7 Commits

Author SHA1 Message Date
Marten Seemann
3e59ede7a7 use channels to properly implement the Stream.Read function 2016-04-16 23:47:57 +07:00
Lucas Clemente
b6c9c9b6a4 introduce protocol/version.go and remove big endian functions 2016-04-15 18:46:39 +02:00
Marten Seemann
c0edd24a2e remove readNBytes func 2016-04-14 17:55:28 +07:00
Marten Seemann
5b78f1613c add function to read and write uint32 big endians, use it for the QuicVersion 2016-04-14 13:35:25 +07:00
Marten Seemann
4f39e0f14d add tests for utils 2016-04-14 11:30:22 +07:00
Lucas Clemente
df96797e9c fix an error reading n-byte integers 2016-04-11 14:41:21 +02:00
Lucas Clemente
4a44e4982e move utils.go to its own package so that it's available for aeads 2016-04-10 20:23:15 +02:00