Versions in this module Expand all Collapse all v1 v1.0.0 Oct 16, 2017 Changes in this version + var StdAllocator = &stdAllocator + type Allocator interface + Alloc func(capacity int) []byte + AllocWithLen func(length int, capacity int) []byte + Reset func() + type SimpleAllocator struct + func NewAllocator(capacity int) *SimpleAllocator + func (s *SimpleAllocator) Alloc(capacity int) []byte + func (s *SimpleAllocator) AllocWithLen(length int, capacity int) []byte + func (s *SimpleAllocator) Reset()