forked from quic-go/quic-go
add tests for utils
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
)
|
||||
|
||||
// ReadUintN reads N bytes
|
||||
// ToDo: add tests
|
||||
func ReadUintN(b io.ByteReader, length uint8) (uint64, error) {
|
||||
var res uint64
|
||||
for i := uint8(0); i < length; i++ {
|
||||
|
||||
Reference in New Issue
Block a user