# Functions
AcquireArena returns a pooled arena, which is released to the pool on Free.
AcquireBuffer returns a new buffer from the pool.
Alloc allocates a new object and returns a pointer to it.
Append appends a new item to a slice, grows the slice if required, and returns the modified slice.
AppendN appends a new slice to a slice, grows the slice if required, and returns the modified slice.
Bytes allocates a new byte slice.
Copy allocates a new slice and copies items from src into it.
CopyBytes allocates a new byte slice and copies items from src into it.
CopyBytesTo copies bytes from src into dst, growing dst if needed.
Grow grows the slice to at least the given capacity.
NewArena returns a new non-thread-safe arena.
NewArenaRef returns a reference to a new non-thread-safe arena.
NewBuffer allocates a buffer.
NewBufferedWriter returns a new buffered writer with the default buffer size.
NewBufferedWriterSize returns a new buffered writer with the specified buffer size.
NewBuffer allocates a buffer of a preallocated capacity.
NewByteQueue allocates an unbounded buffer queue.
NewByteQueueCap allocates a buffer queue with a max capacity.
NewFreeList returns a new free list which allocates objects in the given arena.
NewMutexArena returns a new thread-safe arena which uses a mutex to synchronize access.
Pin pins an object to an arena.
Slice allocates a new slice of a generic type.
Slice1 allocates a new slice with a single item.
String allocates a new string and copies data from src into it.
StringBytes allocates a new string and copies data from src into it.
StringFormat formats a string using fmt.Appendf and returns a new string allocated in the arena.
StringJoin joins strings using separator.
StringJoin2 joins two strings using separator.
StringRunes allocates a new string and copies data from src into it.
# Interfaces
FreeList is a linked list of free objects allocated in the arena.
# Type aliases
Arena is an arena memory allocator.
Buffer is a buffer allocated by an allocator.
Writer buffers small writes and flushes them to an underlying writer.
ByteQueue is a single reader multiple writers binary message queue.
Arena is an arena memory allocator.