From b34ad3cfa5abe67c3f21ba09bec2a4cb6d098eb8 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Thu, 15 Oct 2020 14:04:10 +1100 Subject: [PATCH] s/characters/bytes --- varint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varint.go b/varint.go index 2735c4e..e25c843 100644 --- a/varint.go +++ b/varint.go @@ -12,7 +12,7 @@ import ( // license as given at https://golang.org/LICENSE // 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 // error is returned. func uvarint(buf string) (uint64, int, error) {