Documentation ¶
Index ¶
- type LoadedField
- type LoadedSubLayer
- type ProtoBuff
- func (buffer *ProtoBuff) Add(fieldname string, value any, enum any)
- func (buffer *ProtoBuff) AddBitsUint16(fieldname []string, values []uint16, sizes []int, enum []any)
- func (buffer *ProtoBuff) AddBitsUint32(fieldname []string, values []uint32, sizes []int, enum []any)
- func (buffer *ProtoBuff) AddBitsUint64(fieldname []string, values []uint64, sizes []int, enum []any)
- func (buffer *ProtoBuff) AddBitsUint8(fieldname []string, values []uint8, sizes []int, enum []any)
- func (buffer *ProtoBuff) AddLayer(fieldname string, layer any)
- func (buffer *ProtoBuff) Add_Le(fieldname string, value any, enum any)
- func (buffer *ProtoBuff) GetLoadedFields() []LoadedField
- func (buffer *ProtoBuff) NextUint16() uint16
- func (buffer *ProtoBuff) NextUint16Le() uint16
- func (buffer *ProtoBuff) NextUint32() uint32
- func (buffer *ProtoBuff) NextUint32Le() uint32
- func (buffer *ProtoBuff) NextUint64() uint64
- func (buffer *ProtoBuff) NextUint64Le() uint64
- func (buffer *ProtoBuff) NextUint8() uint8
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 ProtoBuff ¶
func (*ProtoBuff) Add ¶
Add will write into the buffer the value passed in args. It will also save the field for the Show function.
func (*ProtoBuff) AddBitsUint16 ¶ added in v0.4.5
func (*ProtoBuff) AddBitsUint32 ¶ added in v0.4.5
func (*ProtoBuff) AddBitsUint64 ¶ added in v0.4.5
func (*ProtoBuff) AddBitsUint8 ¶ added in v0.4.5
func (*ProtoBuff) GetLoadedFields ¶
func (buffer *ProtoBuff) GetLoadedFields() []LoadedField
func (*ProtoBuff) NextUint16 ¶ added in v0.4.5
func (*ProtoBuff) NextUint16Le ¶ added in v0.4.5
func (*ProtoBuff) NextUint32 ¶ added in v0.4.5
func (*ProtoBuff) NextUint32Le ¶ added in v0.4.5
func (*ProtoBuff) NextUint64 ¶ added in v0.4.5
func (*ProtoBuff) NextUint64Le ¶ added in v0.4.5
Click to show internal directories.
Click to hide internal directories.