tlUseStr

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2026 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by tl2gen; DO NOT EDIT.

Index

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 (item *UseStr) CalculateLayout(sizes []int, optimizeEmpty bool) ([]int, int)

func (*UseStr) FillRandom

func (item *UseStr) FillRandom(rg *basictl.RandGenerator)

func (*UseStr) InternalReadTL2

func (item *UseStr) InternalReadTL2(r []byte) (_ []byte, err error)

func (*UseStr) InternalWriteTL2

func (item *UseStr) InternalWriteTL2(w []byte, sizes []int, optimizeEmpty bool) ([]byte, []int, int)

func (*UseStr) MarshalJSON

func (item *UseStr) MarshalJSON() ([]byte, error)

func (*UseStr) ReadJSON

func (item *UseStr) ReadJSON(legacyTypeNames bool, in *basictl.JsonLexer) error

func (*UseStr) ReadJSONGeneral

func (item *UseStr) ReadJSONGeneral(tctx *basictl.JSONReadContext, in *basictl.JsonLexer) error

func (*UseStr) ReadTL1

func (item *UseStr) ReadTL1(w []byte) (_ []byte, err error)

func (*UseStr) ReadTL1Boxed

func (item *UseStr) ReadTL1Boxed(w []byte) (_ []byte, err error)

func (*UseStr) ReadTL2

func (item *UseStr) ReadTL2(r []byte, ctx *basictl.TL2ReadContext) (_ []byte, err error)

func (*UseStr) Reset

func (item *UseStr) Reset()

func (UseStr) String

func (item UseStr) String() string

func (UseStr) TLName

func (UseStr) TLName() string

func (UseStr) TLTag

func (UseStr) TLTag() uint32

func (*UseStr) UnmarshalJSON

func (item *UseStr) UnmarshalJSON(b []byte) error

func (*UseStr) WriteJSON

func (item *UseStr) WriteJSON(w []byte) []byte

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) WriteTL1

func (item *UseStr) WriteTL1(w []byte) []byte

func (*UseStr) WriteTL1Boxed

func (item *UseStr) WriteTL1Boxed(w []byte) []byte

func (*UseStr) WriteTL1BoxedGeneral

func (item *UseStr) WriteTL1BoxedGeneral(w []byte) (_ []byte, err error)

func (*UseStr) WriteTL1General

func (item *UseStr) WriteTL1General(w []byte) (_ []byte, err error)

func (*UseStr) WriteTL2

func (item *UseStr) WriteTL2(w []byte, ctx *basictl.TL2WriteContext) []byte

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 (item *UseStrBytes) InternalWriteTL2(w []byte, sizes []int, optimizeEmpty bool) ([]byte, []int, int)

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) ReadTL1

func (item *UseStrBytes) ReadTL1(w []byte) (_ []byte, err 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL