Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Buffer ¶
func (*Buffer) Free ¶
func (b *Buffer) Free()
Free returns the Buffer to its Pool (alias for Release)
Callers must not retain references to the Buffer after calling Free.
func (*Buffer) Release ¶
func (b *Buffer) Release()
Release returns the Buffer to its pool.
Callers must not retain references to the Buffer after calling Free.
func (*Buffer) TrimNewline ¶
func (b *Buffer) TrimNewline()
TrimNewline trims any final "\n" byte from the end of the buffer.
Click to show internal directories.
Click to hide internal directories.