Versions in this module Expand all Collapse all v9 v9.0.0 Jul 29, 2022 Changes in this version + func Set(buf []byte, c byte) + type Allocator interface + Allocate func(size int) []byte + Free func(b []byte) + Reallocate func(size int, b []byte) []byte + var DefaultAllocator Allocator = NewGoAllocator() + type Buffer struct + func NewBufferBytes(data []byte) *Buffer + func NewResizableBuffer(mem Allocator) *Buffer + func SliceBuffer(buf *Buffer, offset, length int) *Buffer + func (b *Buffer) Buf() []byte + func (b *Buffer) Bytes() []byte + func (b *Buffer) Cap() int + func (b *Buffer) Len() int + func (b *Buffer) Mutable() bool + func (b *Buffer) Release() + func (b *Buffer) Reserve(capacity int) + func (b *Buffer) Reset(buf []byte) + func (b *Buffer) Resize(newSize int) + func (b *Buffer) ResizeNoShrink(newSize int) + func (b *Buffer) Retain() + type CheckedAllocator struct + func NewCheckedAllocator(mem Allocator) *CheckedAllocator + func (a *CheckedAllocator) Allocate(size int) []byte + func (a *CheckedAllocator) AssertSize(t TestingT, sz int) + func (a *CheckedAllocator) CurrentAlloc() int + func (a *CheckedAllocator) Free(b []byte) + func (a *CheckedAllocator) Reallocate(size int, b []byte) []byte + type CheckedAllocatorScope struct + func NewCheckedAllocatorScope(alloc *CheckedAllocator) *CheckedAllocatorScope + func (c *CheckedAllocatorScope) CheckSize(t TestingT) + type GoAllocator struct + func NewGoAllocator() *GoAllocator + func (a *GoAllocator) Allocate(size int) []byte + func (a *GoAllocator) Free(b []byte) + func (a *GoAllocator) Reallocate(size int, b []byte) []byte + type TestingT interface + Errorf func(format string, args ...interface{}) + Helper func() Other modules containing this package github.com/apache/arrow/go/v10 github.com/apache/arrow/go/v11 github.com/apache/arrow/go/v12 github.com/apache/arrow/go/v13 github.com/apache/arrow/go/v14 github.com/apache/arrow/go/v15 github.com/apache/arrow/go/v16 github.com/apache/arrow/go/v6 github.com/apache/arrow/go/v7 github.com/apache/arrow/go/v8