Ver Fonte

comments

Darien Raymond há 9 anos atrás
pai
commit
e756222a7d
1 ficheiros alterados com 1 adições e 0 exclusões
  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