Documentation
¶
Index ¶
Constants ¶
View Source
const TestVersion = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
Buffer implements a circular buffer supporting both overflow-checked writes and unconditional, possibly overwriting, writes.
func (*Buffer) Overwrite ¶
Overwrite unconditionally puts byte c in the buffer. If the buffer was already full, c overwrites the oldest byte in the buffer.
Click to show internal directories.
Click to hide internal directories.