Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer interface {
buffer.Buffer
buffer.Writer
// Rem returns the remaining capacity of the buffer.
Rem() int
// Free releases the buffer and its internal resources.
// The buffer cannot be used after it has been freed.
Free()
}
Buffer is a byte buffer, which internally allocates memory in blocks.
Click to show internal directories.
Click to hide internal directories.