mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-05 13:17:36 +03:00
add some simple tests
This commit is contained in:
parent
fd485dc50a
commit
aa894a6df7
3 changed files with 26 additions and 1 deletions
|
@ -6,7 +6,6 @@ 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++ {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue