command

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

type Buffer struct {
	Bytes []byte
}

func New

func New(capacity int) (buffer *Buffer)

New creates a reusable binary command buffer.

func (*Buffer) Bool

func (b *Buffer) Bool(value bool) (self *Buffer)

func (*Buffer) Byte

func (b *Buffer) Byte(value byte) (self *Buffer)

func (*Buffer) F32

func (b *Buffer) F32(values ...float32) (self *Buffer)

func (*Buffer) F64

func (b *Buffer) F64(values ...float64) (self *Buffer)

func (*Buffer) Op

func (b *Buffer) Op(op Op) (self *Buffer)

func (*Buffer) Raw

func (b *Buffer) Raw(value []byte) (self *Buffer)

func (*Buffer) Reset

func (b *Buffer) Reset() (self *Buffer)

func (*Buffer) String

func (b *Buffer) String(value string) (self *Buffer)

func (*Buffer) U32

func (b *Buffer) U32(value uint32) (self *Buffer)

type Op

type Op byte

Jump to

Keyboard shortcuts

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