package
0.0.0-20230903062148-258f086348c8
Repository: https://github.com/xen0tic/utils.git
Documentation: pkg.go.dev

# Functions

New returns a new Buffer whose buffer has the given size.

# Constants

1KB.
MinRead is the minimum slice size passed to a Read call by Buffer.ReadFrom.

# Variables

ErrIsEmpty will be returned when trying to read an empty ring-buffer.

# Structs

Buffer is a circular buffer that implement io.ReaderWriter interface.