Documentation
¶
Overview ¶
Code generated by tl2gen; DO NOT EDIT.
Index ¶
- type UseStr
- func (item *UseStr) CalculateLayout(sizes []int, optimizeEmpty bool) ([]int, int)
- func (item *UseStr) FillRandom(rg *basictl.RandGenerator)
- func (item *UseStr) InternalReadTL2(r []byte) (_ []byte, err error)
- func (item *UseStr) InternalWriteTL2(w []byte, sizes []int, optimizeEmpty bool) ([]byte, []int, int)
- func (item *UseStr) MarshalJSON() ([]byte, error)
- func (item *UseStr) ReadJSON(legacyTypeNames bool, in *basictl.JsonLexer) error
- func (item *UseStr) ReadJSONGeneral(tctx *basictl.JSONReadContext, in *basictl.JsonLexer) error
- func (item *UseStr) ReadTL1(w []byte) (_ []byte, err error)
- func (item *UseStr) ReadTL1Boxed(w []byte) (_ []byte, err error)
- func (item *UseStr) ReadTL2(r []byte, ctx *basictl.TL2ReadContext) (_ []byte, err error)
- func (item *UseStr) Reset()
- func (item UseStr) String() string
- func (UseStr) TLName() string
- func (UseStr) TLTag() uint32
- func (item *UseStr) UnmarshalJSON(b []byte) error
- func (item *UseStr) WriteJSON(w []byte) []byte
- func (item *UseStr) WriteJSONGeneral(tctx *basictl.JSONWriteContext, w []byte) (_ []byte, err error)
- func (item *UseStr) WriteJSONOpt(tctx *basictl.JSONWriteContext, w []byte) []byte
- func (item *UseStr) WriteTL1(w []byte) []byte
- func (item *UseStr) WriteTL1Boxed(w []byte) []byte
- func (item *UseStr) WriteTL1BoxedGeneral(w []byte) (_ []byte, err error)
- func (item *UseStr) WriteTL1General(w []byte) (_ []byte, err error)
- func (item *UseStr) WriteTL2(w []byte, ctx *basictl.TL2WriteContext) []byte
- type UseStrBytes
- func (item *UseStrBytes) CalculateLayout(sizes []int, optimizeEmpty bool) ([]int, int)
- func (item *UseStrBytes) FillRandom(rg *basictl.RandGenerator)
- func (item *UseStrBytes) InternalReadTL2(r []byte) (_ []byte, err error)
- func (item *UseStrBytes) InternalWriteTL2(w []byte, sizes []int, optimizeEmpty bool) ([]byte, []int, int)
- func (item *UseStrBytes) MarshalJSON() ([]byte, error)
- func (item *UseStrBytes) ReadJSON(legacyTypeNames bool, in *basictl.JsonLexer) error
- func (item *UseStrBytes) ReadJSONGeneral(tctx *basictl.JSONReadContext, in *basictl.JsonLexer) error
- func (item *UseStrBytes) ReadTL1(w []byte) (_ []byte, err error)
- func (item *UseStrBytes) ReadTL1Boxed(w []byte) (_ []byte, err error)
- func (item *UseStrBytes) ReadTL2(r []byte, ctx *basictl.TL2ReadContext) (_ []byte, err error)
- func (item *UseStrBytes) Reset()
- func (item UseStrBytes) String() string
- func (UseStrBytes) TLName() string
- func (UseStrBytes) TLTag() uint32
- func (item *UseStrBytes) UnmarshalJSON(b []byte) error
- func (item *UseStrBytes) WriteJSON(w []byte) []byte
- func (item *UseStrBytes) WriteJSONGeneral(tctx *basictl.JSONWriteContext, w []byte) (_ []byte, err error)
- func (item *UseStrBytes) WriteJSONOpt(tctx *basictl.JSONWriteContext, w []byte) []byte
- func (item *UseStrBytes) WriteTL1(w []byte) []byte
- func (item *UseStrBytes) WriteTL1Boxed(w []byte) []byte
- func (item *UseStrBytes) WriteTL1BoxedGeneral(w []byte) (_ []byte, err error)
- func (item *UseStrBytes) WriteTL1General(w []byte) (_ []byte, err error)
- func (item *UseStrBytes) WriteTL2(w []byte, ctx *basictl.TL2WriteContext) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UseStr ¶
type UseStr struct {
X string
}
func (*UseStr) CalculateLayout ¶
func (*UseStr) FillRandom ¶
func (item *UseStr) FillRandom(rg *basictl.RandGenerator)
func (*UseStr) InternalReadTL2 ¶
func (*UseStr) InternalWriteTL2 ¶
func (*UseStr) MarshalJSON ¶
func (*UseStr) ReadJSONGeneral ¶
func (*UseStr) UnmarshalJSON ¶
func (*UseStr) WriteJSONGeneral ¶
func (item *UseStr) WriteJSONGeneral(tctx *basictl.JSONWriteContext, w []byte) (_ []byte, err error)
This method is general version of WriteJSON, use it instead!
func (*UseStr) WriteJSONOpt ¶
func (item *UseStr) WriteJSONOpt(tctx *basictl.JSONWriteContext, w []byte) []byte
func (*UseStr) WriteTL1Boxed ¶
func (*UseStr) WriteTL1BoxedGeneral ¶
func (*UseStr) WriteTL1General ¶
type UseStrBytes ¶
type UseStrBytes struct {
X []byte
}
func (*UseStrBytes) CalculateLayout ¶
func (item *UseStrBytes) CalculateLayout(sizes []int, optimizeEmpty bool) ([]int, int)
func (*UseStrBytes) FillRandom ¶
func (item *UseStrBytes) FillRandom(rg *basictl.RandGenerator)
func (*UseStrBytes) InternalReadTL2 ¶
func (item *UseStrBytes) InternalReadTL2(r []byte) (_ []byte, err error)
func (*UseStrBytes) InternalWriteTL2 ¶
func (*UseStrBytes) MarshalJSON ¶
func (item *UseStrBytes) MarshalJSON() ([]byte, error)
func (*UseStrBytes) ReadJSON ¶
func (item *UseStrBytes) ReadJSON(legacyTypeNames bool, in *basictl.JsonLexer) error
func (*UseStrBytes) ReadJSONGeneral ¶
func (item *UseStrBytes) ReadJSONGeneral(tctx *basictl.JSONReadContext, in *basictl.JsonLexer) error
func (*UseStrBytes) ReadTL1Boxed ¶
func (item *UseStrBytes) ReadTL1Boxed(w []byte) (_ []byte, err error)
func (*UseStrBytes) ReadTL2 ¶
func (item *UseStrBytes) ReadTL2(r []byte, ctx *basictl.TL2ReadContext) (_ []byte, err error)
func (*UseStrBytes) Reset ¶
func (item *UseStrBytes) Reset()
func (UseStrBytes) String ¶
func (item UseStrBytes) String() string
func (UseStrBytes) TLName ¶
func (UseStrBytes) TLName() string
func (UseStrBytes) TLTag ¶
func (UseStrBytes) TLTag() uint32
func (*UseStrBytes) UnmarshalJSON ¶
func (item *UseStrBytes) UnmarshalJSON(b []byte) error
func (*UseStrBytes) WriteJSON ¶
func (item *UseStrBytes) WriteJSON(w []byte) []byte
func (*UseStrBytes) WriteJSONGeneral ¶
func (item *UseStrBytes) WriteJSONGeneral(tctx *basictl.JSONWriteContext, w []byte) (_ []byte, err error)
This method is general version of WriteJSON, use it instead!
func (*UseStrBytes) WriteJSONOpt ¶
func (item *UseStrBytes) WriteJSONOpt(tctx *basictl.JSONWriteContext, w []byte) []byte
func (*UseStrBytes) WriteTL1 ¶
func (item *UseStrBytes) WriteTL1(w []byte) []byte
func (*UseStrBytes) WriteTL1Boxed ¶
func (item *UseStrBytes) WriteTL1Boxed(w []byte) []byte
func (*UseStrBytes) WriteTL1BoxedGeneral ¶
func (item *UseStrBytes) WriteTL1BoxedGeneral(w []byte) (_ []byte, err error)
func (*UseStrBytes) WriteTL1General ¶
func (item *UseStrBytes) WriteTL1General(w []byte) (_ []byte, err error)
func (*UseStrBytes) WriteTL2 ¶
func (item *UseStrBytes) WriteTL2(w []byte, ctx *basictl.TL2WriteContext) []byte
Click to show internal directories.
Click to hide internal directories.