This commit is contained in:
Darien Raymond
2018-03-13 09:02:21 +01:00
parent 5a227ec356
commit b4e1240160
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ func New() *Buffer {
}
}
// NewSize creates and returns a buffer given capacity.
// NewSize creates and returns a buffer with 0 length and at least the given capacity.
func NewSize(size uint32) *Buffer {
return &Buffer{
v: newBytes(size),