Documentation
¶
Overview ¶
Code generated by ndn tlv codegen DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateVector ¶
type StateVector struct {
//+field:sequence:*StateVectorEntry:struct:StateVectorEntry
Entries []*StateVectorEntry `tlv:"0xca"`
}
func ParseStateVector ¶
func ParseStateVector(reader enc.WireView, ignoreCritical bool) (*StateVector, error)
func (*StateVector) Bytes ¶
func (value *StateVector) Bytes() []byte
func (*StateVector) Encode ¶
func (value *StateVector) Encode() enc.Wire
type StateVectorEncoder ¶
type StateVectorEncoder struct {
Entries_subencoder []struct {
Entries_encoder StateVectorEntryEncoder
}
// contains filtered or unexported fields
}
func (*StateVectorEncoder) Encode ¶
func (encoder *StateVectorEncoder) Encode(value *StateVector) enc.Wire
func (*StateVectorEncoder) EncodeInto ¶
func (encoder *StateVectorEncoder) EncodeInto(value *StateVector, buf []byte)
func (*StateVectorEncoder) Init ¶
func (encoder *StateVectorEncoder) Init(value *StateVector)
type StateVectorEntry ¶
type StateVectorEntry struct {
//+field:name
Name enc.Name `tlv:"0x07"`
//+field:natural
SeqNo uint64 `tlv:"0xcc"`
}
func ParseStateVectorEntry ¶
func ParseStateVectorEntry(reader enc.WireView, ignoreCritical bool) (*StateVectorEntry, error)
func (*StateVectorEntry) Bytes ¶
func (value *StateVectorEntry) Bytes() []byte
func (*StateVectorEntry) Encode ¶
func (value *StateVectorEntry) Encode() enc.Wire
type StateVectorEntryEncoder ¶
type StateVectorEntryEncoder struct {
Name_length uint
// contains filtered or unexported fields
}
func (*StateVectorEntryEncoder) Encode ¶
func (encoder *StateVectorEntryEncoder) Encode(value *StateVectorEntry) enc.Wire
func (*StateVectorEntryEncoder) EncodeInto ¶
func (encoder *StateVectorEntryEncoder) EncodeInto(value *StateVectorEntry, buf []byte)
func (*StateVectorEntryEncoder) Init ¶
func (encoder *StateVectorEntryEncoder) Init(value *StateVectorEntry)
type StateVectorEntryParsingContext ¶
type StateVectorEntryParsingContext struct {
}
func (*StateVectorEntryParsingContext) Init ¶
func (context *StateVectorEntryParsingContext) Init()
func (*StateVectorEntryParsingContext) Parse ¶
func (context *StateVectorEntryParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*StateVectorEntry, error)
type StateVectorParsingContext ¶
type StateVectorParsingContext struct {
Entries_context StateVectorEntryParsingContext
}
func (*StateVectorParsingContext) Init ¶
func (context *StateVectorParsingContext) Init()
func (*StateVectorParsingContext) Parse ¶
func (context *StateVectorParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*StateVector, error)
type SvsData ¶
type SvsData struct {
//+field:struct:StateVector
StateVector *StateVector `tlv:"0xc9"`
}
type SvsDataEncoder ¶
type SvsDataEncoder struct {
StateVector_encoder StateVectorEncoder
// contains filtered or unexported fields
}
func (*SvsDataEncoder) EncodeInto ¶
func (encoder *SvsDataEncoder) EncodeInto(value *SvsData, buf []byte)
func (*SvsDataEncoder) Init ¶
func (encoder *SvsDataEncoder) Init(value *SvsData)
type SvsDataParsingContext ¶
type SvsDataParsingContext struct {
StateVector_context StateVectorParsingContext
}
func (*SvsDataParsingContext) Init ¶
func (context *SvsDataParsingContext) Init()
Click to show internal directories.
Click to hide internal directories.