Darien Raymond 9 лет назад
Родитель
Сommit
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