Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustBufferSize ¶
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func (*Pool) Get ¶
func (p *Pool) Get(size int) *VirtualMem
Get retrieves a byte slice of the length requested by the caller from pool or allocates a new one.
type VirtualMem ¶
func Get ¶
func Get(size int) *VirtualMem
func NewVirtualMem ¶
func NewVirtualMem(size int) *VirtualMem
func (*VirtualMem) Zeroes ¶
func (m *VirtualMem) Zeroes()
Click to show internal directories.
Click to hide internal directories.