Darien Raymond 9 years ago
parent
commit
e756222a7d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      common/alloc/buffer.go

+ 1 - 0
common/alloc/buffer.go

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