Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CircularBuffer ¶
type CircularBuffer struct {
// contains filtered or unexported fields
}
func NewCircularBuffer ¶
func NewCircularBuffer(size int) *CircularBuffer
func (*CircularBuffer) AsSlice ¶
func (buffer *CircularBuffer) AsSlice() []byte
func (*CircularBuffer) IsMatch ¶
func (buffer *CircularBuffer) IsMatch(hotkey []byte) bool
func (*CircularBuffer) Push ¶
func (buffer *CircularBuffer) Push(key byte)
Click to show internal directories.
Click to hide internal directories.