Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
A Buffer is a fixed size buffer with Read and Write methods. When more than the allotted amount of data is written, the buffer will only retain the last size bytes of unread data. The zero value for Buffer is a buffer of size 0; all writes are discarded and there is never any data to read. This implementation is not thread-safe.
Click to show internal directories.
Click to hide internal directories.