package
0.1.2
Repository: https://github.com/jcdotter/go.git
Documentation: pkg.go.dev

# Functions

Make constructs a new Buffer with the given capacity.
Must panics if the given error is not nil.
New constructs a new Buffer.
NewPool constructs a new BufferPool.
Range evaluates and returns a valid index and length of the given []byte, allowing for negative index and length values.
RangeRunes evaluates and returns a valid index and length of the given []byte, adjusted for rune values and allowing for negative index and length values.
RuneIndex returns the byte index and byte len of rune i in the Buffer's byte slice.
RuneLen returns the number of bytes required to represent the given rune.
RunesLen returns the number of bytes required to represent the given runes.
RuneToBytes converts a rune to a byte slice.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
Pool is a type-safe wrapper around a sync.Pool that provides a pool of Buffers.

# Structs

Buffer is a type-safe wrapper around a byte slice.