internal

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 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 RingBuffer added in v0.0.3

type RingBuffer[T any] struct {
	// contains filtered or unexported fields
}

func NewRingBuffer added in v0.0.3

func NewRingBuffer[T any](size int) *RingBuffer[T]

func (*RingBuffer[T]) Free added in v0.0.3

func (r *RingBuffer[T]) Free() int

func (*RingBuffer[T]) Len added in v0.0.3

func (r *RingBuffer[T]) Len() int

func (*RingBuffer[T]) Read added in v0.0.3

func (r *RingBuffer[T]) Read(p []T) int

func (*RingBuffer[T]) Reset added in v0.0.3

func (r *RingBuffer[T]) Reset()

func (*RingBuffer[T]) Write added in v0.0.3

func (r *RingBuffer[T]) Write(p []T) (int, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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