index

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Len = 1

Variables

This section is empty.

Functions

func GetAsBytes

func GetAsBytes(prf ...P) (b []by)

GetAsBytes todo wat is dis?

Types

type P

type P byte

func (P) B

func (p P) B() byte

B returns the index.P as a byte.

func (P) I

func (p P) I() no

I returns the index.P as an int (for use with the KeySizes.

func (P) Key

func (p P) Key(element ...keys.Element) (b by)

Key writes a key with the P prefix byte and an arbitrary list of keys.Element.

type T

type T struct {
	Val by
}

func Empty

func Empty() (p *T)

func New

func New[V byte | P | no](code ...V) (p *T)

func (*T) Len

func (p *T) Len() no

func (*T) Read

func (p *T) Read(buf *bytes.Buffer) (el keys.Element)

func (*T) Write

func (p *T) Write(buf *bytes.Buffer)

Jump to

Keyboard shortcuts

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