Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PoolG ¶
type PooledBuffer ¶
type PooledBuffer = PooledBufferG[byte]
type PooledBufferG ¶
type PooledBufferG[T any] interface { io.Closer io.Seeker Write(p []T) (int, error) Read(p []T) (int, error) Reset() ResetRead() Available() int Len() int Cap() int Closed() bool Data() []T }
func NewPooledBuffer ¶
func NewPooledBuffer[T any](size int, pool PoolG[T]) PooledBufferG[T]
Click to show internal directories.
Click to hide internal directories.