Jelajahi Sumber

'comment'

Signed-off-by: V2Ray Dev <admin@v2ray.com>
V2Ray Dev 9 tahun lalu
induk
melakukan
1cd5372a5a
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      common/alloc/buffer.go

+ 1 - 0
common/alloc/buffer.go

@@ -50,6 +50,7 @@ func (b *Buffer) Append(data []byte) *Buffer {
 	return b
 }
 
+// AppendString appends a given string to the end of the buffer.
 func (b *Buffer) AppendString(s string) *Buffer {
 	b.Value = append(b.Value, s...)
 	return b