buffer

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoadedField

type LoadedField struct {
	Name        string
	Value       any
	Enum        any
	ParentLayer LoadedSubLayer
}

func (*LoadedField) GetName

func (f *LoadedField) GetName() string

func (*LoadedField) GetValue

func (f *LoadedField) GetValue() any

type LoadedSubLayer added in v0.4.3

type LoadedSubLayer struct {
	LayerName string
	Name      string
}

type ProtoBuff

type ProtoBuff struct {
	bytes.Buffer
	// contains filtered or unexported fields
}

func (*ProtoBuff) Add

func (buffer *ProtoBuff) Add(fieldname string, value any, enum any)

Add will write into the buffer the value passed in args. It will also save the field for the Show function.

func (*ProtoBuff) Add_Le added in v0.4.2

func (buffer *ProtoBuff) Add_Le(fieldname string, value any, enum any)

func (*ProtoBuff) GetLoadedFields

func (buffer *ProtoBuff) GetLoadedFields() []LoadedField

Jump to

Keyboard shortcuts

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