Documentation ¶
Overview ¶
Generated by the generator, DO NOT modify manually
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inner ¶
type Inner struct { //+field:natural Num uint64 `tlv:"0x01"` }
func ParseInner ¶
func ParseInner(reader enc.ParseReader, ignoreCritical bool) (*Inner, error)
type InnerEncoder ¶
type InnerEncoder struct {
// contains filtered or unexported fields
}
func (*InnerEncoder) EncodeInto ¶
func (encoder *InnerEncoder) EncodeInto(value *Inner, buf []byte)
func (*InnerEncoder) Init ¶
func (encoder *InnerEncoder) Init(value *Inner)
type InnerParsingContext ¶
type InnerParsingContext struct { }
func (*InnerParsingContext) Init ¶
func (context *InnerParsingContext) Init()
func (*InnerParsingContext) Parse ¶
func (context *InnerParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*Inner, error)
type IntStructMap ¶
type IntStructMap struct { //+field:map:uint64:natural:0x87:*Inner:struct:Inner Params map[uint64]*Inner `tlv:"0x85"` }
func ParseIntStructMap ¶
func ParseIntStructMap(reader enc.ParseReader, ignoreCritical bool) (*IntStructMap, error)
func (*IntStructMap) Bytes ¶
func (value *IntStructMap) Bytes() []byte
func (*IntStructMap) Encode ¶
func (value *IntStructMap) Encode() enc.Wire
type IntStructMapEncoder ¶
type IntStructMapEncoder struct { Params_valencoder map[uint64]*struct { Params_v_encoder InnerEncoder } // contains filtered or unexported fields }
func (*IntStructMapEncoder) Encode ¶
func (encoder *IntStructMapEncoder) Encode(value *IntStructMap) enc.Wire
func (*IntStructMapEncoder) EncodeInto ¶
func (encoder *IntStructMapEncoder) EncodeInto(value *IntStructMap, buf []byte)
func (*IntStructMapEncoder) Init ¶
func (encoder *IntStructMapEncoder) Init(value *IntStructMap)
type IntStructMapParsingContext ¶
type IntStructMapParsingContext struct {
Params_v_context InnerParsingContext
}
func (*IntStructMapParsingContext) Init ¶
func (context *IntStructMapParsingContext) Init()
func (*IntStructMapParsingContext) Parse ¶
func (context *IntStructMapParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*IntStructMap, error)
type StringMap ¶
type StringMap struct { //+field:map:string:string:0x87:[]byte:binary Params map[string][]byte `tlv:"0x85"` }
func ParseStringMap ¶
func ParseStringMap(reader enc.ParseReader, ignoreCritical bool) (*StringMap, error)
type StringMapEncoder ¶
type StringMapEncoder struct { Params_valencoder map[string]*struct { } // contains filtered or unexported fields }
func (*StringMapEncoder) Encode ¶
func (encoder *StringMapEncoder) Encode(value *StringMap) enc.Wire
func (*StringMapEncoder) EncodeInto ¶
func (encoder *StringMapEncoder) EncodeInto(value *StringMap, buf []byte)
func (*StringMapEncoder) Init ¶
func (encoder *StringMapEncoder) Init(value *StringMap)
type StringMapParsingContext ¶
type StringMapParsingContext struct { }
func (*StringMapParsingContext) Init ¶
func (context *StringMapParsingContext) Init()
func (*StringMapParsingContext) Parse ¶
func (context *StringMapParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*StringMap, error)
Click to show internal directories.
Click to hide internal directories.