Documentation ¶
Overview ¶
Package multibuffer contains a buffer with multiple levels.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiBuffer ¶
type MultiBuffer struct {
// contains filtered or unexported fields
}
MultiBuffer implements software multi buffering, that allows to reuse existing buffers without creating new ones, improving performance.
func (*MultiBuffer) Next ¶
func (mb *MultiBuffer) Next() []byte
Next gets the current buffer and sets the next buffer as the current one.
Click to show internal directories.
Click to hide internal directories.