s/characters/bytes

This commit is contained in:
Rod Vagg
2020-10-15 14:04:10 +11:00
parent ec089b8a53
commit b34ad3cfa5

View File

@@ -12,7 +12,7 @@ import (
// license as given at https://golang.org/LICENSE // license as given at https://golang.org/LICENSE
// uvarint decodes a uint64 from buf and returns that value and the // uvarint decodes a uint64 from buf and returns that value and the
// number of characters read (> 0). If an error occurred, then 0 is // number of bytes read (> 0). If an error occurred, then 0 is
// returned for both the value and the number of bytes read, and an // returned for both the value and the number of bytes read, and an
// error is returned. // error is returned.
func uvarint(buf string) (uint64, int, error) { func uvarint(buf string) (uint64, int, error) {