Documentation ¶
Overview ¶
seekbuf implements a read-seekable buffer.
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
}
Buffer is a ReadWriteCloser that supports seeking. It's intended to replicate the functionality of bytes.Buffer that I use in my projects.
Note that the seeking is limited to the read marker; all writes are append-only.
Click to show internal directories.
Click to hide internal directories.