mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
An io.Reader can read into the buffer and return the io.EOF in the same call. In fact, that's how the quic.Stream is implemented. In that case, we shouldn't return an error from quicvarint.Read, otherwise the caller won't be able to parse a varint sent just before a stream was closed. |
||
---|---|---|
.. | ||
io.go | ||
io_test.go | ||
quicvarint_suite_test.go | ||
varint.go | ||
varint_test.go |