You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fury.apache.org by ch...@apache.org on 2024/01/23 10:43:05 UTC
(incubator-fury) branch main updated: fix(go): fix comment error, should be 1-5 byte (#1353)
This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-fury.git
The following commit(s) were added to refs/heads/main by this push:
new ad196450 fix(go): fix comment error, should be 1-5 byte (#1353)
ad196450 is described below
commit ad19645001fd2109fa26ded57c483b26204ada9a
Author: Bo Hu <hu...@163.com>
AuthorDate: Tue Jan 23 18:43:00 2024 +0800
fix(go): fix comment error, should be 1-5 byte (#1353)
fix go comment error
Co-authored-by: hubo <hu...@oppo.com>
---
go/fury/buffer.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/go/fury/buffer.go b/go/fury/buffer.go
index 9795280a..4ba0d691 100644
--- a/go/fury/buffer.go
+++ b/go/fury/buffer.go
@@ -249,7 +249,7 @@ func (b *ByteBuffer) PutInt32(index int, value int32) {
binary.LittleEndian.PutUint32(b.data[index:], uint32(value))
}
-// WriteVarInt32 WritePositiveVarInt writes a 1-9 byte int, returns the number of bytes written.
+// WriteVarInt32 WritePositiveVarInt writes a 1-5 byte int, returns the number of bytes written.
func (b *ByteBuffer) WriteVarInt32(value int32) int8 {
if value>>7 == 0 {
b.grow(1)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org