Versions in this module Expand all Collapse all v0 v0.0.1 Jan 30, 2026 Changes in this version + func Resize(b []byte, n int) []byte + func ToUnsafeBytes(s string) (b []byte) + func ToUnsafeString(b []byte) string + type ByteBuffer struct + B []byte + func (bb *ByteBuffer) MustClose() + func (bb *ByteBuffer) MustReadAt(p []byte, offset int64) + func (bb *ByteBuffer) ReadFrom(r io.Reader) (int64, error) + func (bb *ByteBuffer) Reset() + func (bb *ByteBuffer) Write(p []byte) (int, error) + type ByteBufferPool struct + func (bbp *ByteBufferPool) Get() *ByteBuffer + func (bbp *ByteBufferPool) Put(bb *ByteBuffer)