Documentation ¶
Index ¶
- Variables
- type BlocksI
- type Buf
- func (t *Buf[T]) Append(data []T) error
- func (t *Buf[T]) Clear()
- func (t *Buf[T]) GetCopyBuf() (buf []T)
- func (t *Buf[T]) GetModified() Modified
- func (t *Buf[T]) GetPureBuf() (buf []T)
- func (t *Buf[T]) HadModified(mt Modified) (modified bool, err error)
- func (t *Buf[T]) IsEmpty() bool
- func (t *Buf[T]) RemoveBack(n int) error
- func (t *Buf[T]) RemoveFront(n int) error
- func (t *Buf[T]) Reset()
- func (t *Buf[T]) SetModified()
- func (t *Buf[T]) Size() int
- type Modified
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOverflow = errors.New("ErrOverflow")
Functions ¶
This section is empty.
Types ¶
type BlocksI ¶ added in v0.28.20231214150658
type Buf ¶ added in v0.21.1
type Buf[T any] struct { // contains filtered or unexported fields }
func (*Buf[T]) GetCopyBuf ¶ added in v0.21.1
func (t *Buf[T]) GetCopyBuf() (buf []T)
func (*Buf[T]) GetModified ¶ added in v0.21.1
func (*Buf[T]) HadModified ¶ added in v0.21.1
func (*Buf[T]) RemoveBack ¶ added in v0.21.1
func (*Buf[T]) RemoveFront ¶ added in v0.21.1
Click to show internal directories.
Click to hide internal directories.