Darien Raymond 9 年之前
父节点
当前提交
e756222a7d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      common/alloc/buffer.go

+ 1 - 0
common/alloc/buffer.go

@@ -9,6 +9,7 @@ const (
 	defaultOffset = 16
 )
 
+// A Writer that writes contents into the given buffer.
 type BytesWriter func([]byte) int
 
 // Buffer is a recyclable allocation of a byte array. Buffer.Release() recycles