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 T1 ¶
type T1 struct {
//+field:natural
H1 uint64 `tlv:"0x01"`
//+field:natural:optional
H2 *uint64 `tlv:"0x02"`
//+field:wire
C enc.Wire `tlv:"0x03"`
//+field:signature:sigCoverStart:sigCovered
Sig enc.Wire `tlv:"0x04"`
// contains filtered or unexported fields
}
+tlv-model:nocopy,private,ordered
type T1Encoder ¶
type T1ParsingContext ¶
type T1ParsingContext struct {
// contains filtered or unexported fields
}
func (*T1ParsingContext) Init ¶
func (context *T1ParsingContext) Init()
func (*T1ParsingContext) Parse ¶
func (context *T1ParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*T1, error)
type T2 ¶
type T2 struct {
//+field:interestName:sigCovered
Name enc.Name `tlv:"0x01"`
//+field:wire
C enc.Wire `tlv:"0x03"`
//+field:signature:sigCoverStart:sigCovered
Sig enc.Wire `tlv:"0x04"`
// contains filtered or unexported fields
}
+tlv-model:nocopy,private,ordered
type T2Encoder ¶
type T2ParsingContext ¶
type T2ParsingContext struct {
Name_wireIdx int
Name_pos uint
// contains filtered or unexported fields
}
func (*T2ParsingContext) Init ¶
func (context *T2ParsingContext) Init()
func (*T2ParsingContext) Parse ¶
func (context *T2ParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*T2, error)
Click to show internal directories.
Click to hide internal directories.