cycle_2383fe3e154dfb1e44c2ac7759547e8a

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by vktl/cmd/tlgen2; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyInt

type MyInt struct {
	Val1 int32
}

func (MyInt) AsUnion

func (item MyInt) AsUnion() MyValue

func (*MyInt) MarshalJSON

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

func (*MyInt) Read

func (item *MyInt) Read(w []byte) (_ []byte, err error)

func (*MyInt) ReadBoxed

func (item *MyInt) ReadBoxed(w []byte) (_ []byte, err error)

func (*MyInt) ReadJSON

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

func (*MyInt) Reset

func (item *MyInt) Reset()

func (MyInt) String

func (item MyInt) String() string

func (MyInt) TLName

func (MyInt) TLName() string

func (MyInt) TLTag

func (MyInt) TLTag() uint32

func (*MyInt) UnmarshalJSON

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

func (*MyInt) Write

func (item *MyInt) Write(w []byte) []byte

func (*MyInt) WriteBoxed

func (item *MyInt) WriteBoxed(w []byte) []byte

func (*MyInt) WriteBoxedGeneral

func (item *MyInt) WriteBoxedGeneral(w []byte) (_ []byte, err error)

This method is general version of WriteBoxed, use it instead!

func (*MyInt) WriteGeneral

func (item *MyInt) WriteGeneral(w []byte) (_ []byte, err error)

This method is general version of Write, use it instead!

func (*MyInt) WriteJSON

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

func (*MyInt) WriteJSONGeneral

func (item *MyInt) WriteJSONGeneral(w []byte) (_ []byte, err error)

This method is general version of WriteJSON, use it instead!

func (*MyInt) WriteJSONOpt

func (item *MyInt) WriteJSONOpt(newTypeNames bool, short bool, w []byte) []byte

type MyString

type MyString struct {
	Val2 string
}

func (MyString) AsUnion

func (item MyString) AsUnion() MyValue

func (*MyString) MarshalJSON

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

func (*MyString) Read

func (item *MyString) Read(w []byte) (_ []byte, err error)

func (*MyString) ReadBoxed

func (item *MyString) ReadBoxed(w []byte) (_ []byte, err error)

func (*MyString) ReadJSON

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

func (*MyString) Reset

func (item *MyString) Reset()

func (MyString) String

func (item MyString) String() string

func (MyString) TLName

func (MyString) TLName() string

func (MyString) TLTag

func (MyString) TLTag() uint32

func (*MyString) UnmarshalJSON

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

func (*MyString) Write

func (item *MyString) Write(w []byte) []byte

func (*MyString) WriteBoxed

func (item *MyString) WriteBoxed(w []byte) []byte

func (*MyString) WriteBoxedGeneral

func (item *MyString) WriteBoxedGeneral(w []byte) (_ []byte, err error)

This method is general version of WriteBoxed, use it instead!

func (*MyString) WriteGeneral

func (item *MyString) WriteGeneral(w []byte) (_ []byte, err error)

This method is general version of Write, use it instead!

func (*MyString) WriteJSON

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

func (*MyString) WriteJSONGeneral

func (item *MyString) WriteJSONGeneral(w []byte) (_ []byte, err error)

This method is general version of WriteJSON, use it instead!

func (*MyString) WriteJSONOpt

func (item *MyString) WriteJSONOpt(newTypeNames bool, short bool, w []byte) []byte

type MyValue

type MyValue struct {
	// contains filtered or unexported fields
}

func (*MyValue) AsMyInt

func (item *MyValue) AsMyInt() (*MyInt, bool)

func (*MyValue) AsMyString

func (item *MyValue) AsMyString() (*MyString, bool)

func (*MyValue) IsMyInt

func (item *MyValue) IsMyInt() bool

func (*MyValue) IsMyString

func (item *MyValue) IsMyString() bool

func (*MyValue) MarshalJSON

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

func (*MyValue) ReadBoxed

func (item *MyValue) ReadBoxed(w []byte) (_ []byte, err error)

func (*MyValue) ReadJSON

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

func (*MyValue) Reset

func (item *MyValue) Reset()

func (*MyValue) ResetToMyInt

func (item *MyValue) ResetToMyInt() *MyInt

func (*MyValue) ResetToMyString

func (item *MyValue) ResetToMyString() *MyString

func (*MyValue) SetMyInt

func (item *MyValue) SetMyInt(value MyInt)

func (*MyValue) SetMyString

func (item *MyValue) SetMyString(value MyString)

func (MyValue) String

func (item MyValue) String() string

func (MyValue) TLName

func (item MyValue) TLName() string

func (MyValue) TLTag

func (item MyValue) TLTag() uint32

func (*MyValue) UnmarshalJSON

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

func (*MyValue) WriteBoxed

func (item *MyValue) WriteBoxed(w []byte) []byte

func (*MyValue) WriteBoxedGeneral

func (item *MyValue) WriteBoxedGeneral(w []byte) (_ []byte, err error)

This method is general version of WriteBoxed, use it instead!

func (*MyValue) WriteJSON

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

func (*MyValue) WriteJSONGeneral

func (item *MyValue) WriteJSONGeneral(w []byte) ([]byte, error)

This method is general version of WriteJSON, use it instead!

func (*MyValue) WriteJSONOpt

func (item *MyValue) WriteJSONOpt(newTypeNames bool, short bool, w []byte) []byte

Jump to

Keyboard shortcuts

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