buffer

package
v0.0.0-...-14a76cd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 1 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL