From e756222a7dde7800f4779f059c02cb8e404b102d Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Tue, 6 Dec 2016 17:17:07 +0100 Subject: [PATCH] comments --- common/alloc/buffer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/common/alloc/buffer.go b/common/alloc/buffer.go index 9acb42c1..acf1e6e6 100644 --- a/common/alloc/buffer.go +++ b/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