io: rename ReadBytes() to ReadVarBytes()

This commit is contained in:
Evgenii Stratonikov 2019-12-06 18:37:37 +03:00
parent f01fc1cc29
commit 838050f8b5
14 changed files with 22 additions and 22 deletions

View file

@ -91,7 +91,7 @@ func TestReaderErrHandling(t *testing.T) {
assert.Equal(t, i, iorig)
val := br.ReadVarUint()
assert.Equal(t, val, uint64(0))
b := br.ReadBytes()
b := br.ReadVarBytes()
assert.Equal(t, b, []byte{})
s := br.ReadString()
assert.Equal(t, s, "")