Skip to content

Commit 5b3ac01

Browse files
committed
encoding.go comment typo fix
1 parent dac1f53 commit 5b3ac01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

encoding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "github.com/golang-infrastructure/go-gtypes"
44

55
// ------------------------------------------------ ---------------------------------------------------------------------
66

7-
// Encode 对无符号类型进行编码,注意,如果被编码的符号位数较小可能会约编码越大
7+
// Encode 对无符号类型进行编码,注意,如果被编码的数字位数较小可能会越编码越大
88
func Encode[T gtypes.Unsigned](value T) []byte {
99
bytes := make([]byte, 0)
1010
for value > 127 {

0 commit comments

Comments
 (0)