gen_tlo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

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

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

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

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

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

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

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

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

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

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

Index

Constants

View Source
const RandomNatConstraint = 10

Variables

This section is empty.

Functions

func CheckLengthSanity

func CheckLengthSanity(r []byte, natParam uint32, minObjectSize uint32) error

func DoubleRead

func DoubleRead(r []byte, dst *float64) ([]byte, error)

func DoubleWrite

func DoubleWrite(w []byte, v float64) []byte

func ErrorClientDo

func ErrorClientDo(typeName string, network string, actorID uint64, address string, err error) error

func ErrorClientReadResult

func ErrorClientReadResult(typeName string, network string, actorID uint64, address string, err error) error

func ErrorClientWrite

func ErrorClientWrite(typeName string, err error) error

func ErrorInvalidEnumTag

func ErrorInvalidEnumTag(typeName string, tag uint32) error

func ErrorInvalidEnumTagJSON

func ErrorInvalidEnumTagJSON(typeName string, tag string) error

func ErrorInvalidJSON

func ErrorInvalidJSON(typeName string, msg string) error

func ErrorInvalidJSONExcessElement

func ErrorInvalidJSONExcessElement(typeName string, key string) error

func ErrorInvalidUnionTag

func ErrorInvalidUnionTag(typeName string, tag uint32) error

func ErrorInvalidUnionTagJSON

func ErrorInvalidUnionTagJSON(typeName string, tag string) error

func ErrorServerHandle

func ErrorServerHandle(typeName string, err error) error

func ErrorServerRead

func ErrorServerRead(typeName string, err error) error

func ErrorServerWriteResult

func ErrorServerWriteResult(typeName string, err error) error

func ErrorWrongSequenceLength

func ErrorWrongSequenceLength(typeName string, actual int, expected uint32) error

func FloatRead

func FloatRead(r []byte, dst *float32) ([]byte, error)

func FloatWrite

func FloatWrite(w []byte, v float32) []byte

func IntRead

func IntRead(r []byte, dst *int32) ([]byte, error)

func IntWrite

func IntWrite(w []byte, v int32) []byte

func JSONAddCommaIfNeeded

func JSONAddCommaIfNeeded(w []byte) []byte

func JSONWriteBool

func JSONWriteBool(w []byte, v bool) []byte

func JSONWriteFloat32

func JSONWriteFloat32(w []byte, v float32) []byte

func JSONWriteFloat64

func JSONWriteFloat64(w []byte, v float64) []byte

func JSONWriteInt32

func JSONWriteInt32(w []byte, v int32) []byte

func JSONWriteInt64

func JSONWriteInt64(w []byte, v int64) []byte

func JSONWriteString

func JSONWriteString(w []byte, s string) []byte

func JSONWriteStringBytes

func JSONWriteStringBytes(w []byte, s []byte) []byte

NOTE: keep in sync with string above.

func JSONWriteUint32

func JSONWriteUint32(w []byte, v uint32) []byte

func JSONWriteUint64

func JSONWriteUint64(w []byte, v uint64) []byte

func JsonBytesToInterface

func JsonBytesToInterface(b []byte) (interface{}, error)

func JsonReadArray

func JsonReadArray(typeName string, j interface{}) (int, []interface{}, error)

func JsonReadArrayFixedSize

func JsonReadArrayFixedSize(typeName string, j interface{}, expectLength uint32) (int, []interface{}, error)

func JsonReadBool

func JsonReadBool(j interface{}, dst *bool) error

func JsonReadFloat32

func JsonReadFloat32(j interface{}, dst *float32) error

func JsonReadFloat64

func JsonReadFloat64(j interface{}, dst *float64) error

func JsonReadInt32

func JsonReadInt32(j interface{}, dst *int32) error

func JsonReadInt64

func JsonReadInt64(j interface{}, dst *int64) error

func JsonReadMaybe

func JsonReadMaybe(typeName string, j interface{}) (bool, interface{}, error)

func JsonReadString

func JsonReadString(j interface{}, dst *string) error

func JsonReadStringBytes

func JsonReadStringBytes(j interface{}, dst *[]byte) error

func JsonReadUint32

func JsonReadUint32(j interface{}, dst *uint32) error

func JsonReadUnionType

func JsonReadUnionType(typeName string, j interface{}) (map[string]interface{}, string, error)

func LongRead

func LongRead(r []byte, dst *int64) ([]byte, error)

func LongWrite

func LongWrite(w []byte, v int64) []byte

func NatPeekTag

func NatPeekTag(r []byte) (uint32, error)

func NatRead

func NatRead(r []byte, dst *uint32) ([]byte, error)

func NatReadExactTag

func NatReadExactTag(r []byte, tag uint32) ([]byte, error)

func NatReadTag

func NatReadTag(r []byte) (uint32, []byte, error)

func NatWrite

func NatWrite(w []byte, v uint32) []byte

func RandomDouble

func RandomDouble(rand Rand) float64

func RandomFloat

func RandomFloat(rand Rand) float32

func RandomInt

func RandomInt(rand Rand) int32

func RandomLong

func RandomLong(rand Rand) int64

func RandomNat

func RandomNat(rand Rand) uint32

func RandomString

func RandomString(rand Rand) string

func RandomStringBytes

func RandomStringBytes(rand Rand) []byte

func ReadBool

func ReadBool(r []byte, v *bool, falseTag uint32, trueTag uint32) ([]byte, error)

func StringRead

func StringRead(r []byte, dst *string) ([]byte, error)

func StringReadBytes

func StringReadBytes(r []byte, dst *[]byte) ([]byte, error)

func StringWrite

func StringWrite(w []byte, v string) ([]byte, error)

func StringWriteBytes

func StringWriteBytes(w []byte, v []byte) ([]byte, error)

func StringWriteBytesTruncated

func StringWriteBytesTruncated(w []byte, v []byte) []byte

func StringWriteTruncated

func StringWriteTruncated(w []byte, v string) []byte

func TlsArg__ReadJSON

func TlsArg__ReadJSON(item *TlsArg, j interface{}) error

func TlsArray__ReadJSON

func TlsArray__ReadJSON(item *TlsArray, j interface{}) error

func TlsCombinatorLeftBuiltin__ReadJSON

func TlsCombinatorLeftBuiltin__ReadJSON(item *TlsCombinatorLeftBuiltin, j interface{}) error

func TlsCombinatorLeftUnion__ReadJSON

func TlsCombinatorLeftUnion__ReadJSON(item *TlsCombinatorLeftUnion, j interface{}) error

func TlsCombinatorLeft__ReadJSON

func TlsCombinatorLeft__ReadJSON(item *TlsCombinatorLeft, j interface{}) error

func TlsCombinatorRight__ReadJSON

func TlsCombinatorRight__ReadJSON(item *TlsCombinatorRight, j interface{}) error

func TlsCombinatorUnion__ReadJSON

func TlsCombinatorUnion__ReadJSON(item *TlsCombinatorUnion, j interface{}) error

func TlsCombinatorV4__ReadJSON

func TlsCombinatorV4__ReadJSON(item *TlsCombinatorV4, j interface{}) error

func TlsCombinator__ReadJSON

func TlsCombinator__ReadJSON(item *TlsCombinator, j interface{}) error

func TlsExprNat__ReadJSON

func TlsExprNat__ReadJSON(item *TlsExprNat, j interface{}) error

func TlsExprType__ReadJSON

func TlsExprType__ReadJSON(item *TlsExprType, j interface{}) error

func TlsExprUnion__ReadJSON

func TlsExprUnion__ReadJSON(item *TlsExprUnion, j interface{}) error

func TlsNatConst__ReadJSON

func TlsNatConst__ReadJSON(item *TlsNatConst, j interface{}) error

func TlsNatExprUnion__ReadJSON

func TlsNatExprUnion__ReadJSON(item *TlsNatExprUnion, j interface{}) error

func TlsNatVar__ReadJSON

func TlsNatVar__ReadJSON(item *TlsNatVar, j interface{}) error

func TlsSchemaUnion__ReadJSON

func TlsSchemaUnion__ReadJSON(item *TlsSchemaUnion, j interface{}) error

func TlsSchemaV2__ReadJSON

func TlsSchemaV2__ReadJSON(item *TlsSchemaV2, j interface{}) error

func TlsSchemaV3__ReadJSON

func TlsSchemaV3__ReadJSON(item *TlsSchemaV3, j interface{}) error

func TlsSchemaV4__ReadJSON

func TlsSchemaV4__ReadJSON(item *TlsSchemaV4, j interface{}) error

func TlsTypeExprUnion__ReadJSON

func TlsTypeExprUnion__ReadJSON(item *TlsTypeExprUnion, j interface{}) error

func TlsTypeExpr__ReadJSON

func TlsTypeExpr__ReadJSON(item *TlsTypeExpr, j interface{}) error

func TlsTypeVar__ReadJSON

func TlsTypeVar__ReadJSON(item *TlsTypeVar, j interface{}) error

func TlsType__ReadJSON

func TlsType__ReadJSON(item *TlsType, j interface{}) error

func TupleTlsArgBoxedRead

func TupleTlsArgBoxedRead(w []byte, vec *[]TlsArg, nat_n uint32) (_ []byte, err error)

func TupleTlsArgBoxedReadJSON

func TupleTlsArgBoxedReadJSON(j interface{}, vec *[]TlsArg, nat_n uint32) error

func TupleTlsArgBoxedWrite

func TupleTlsArgBoxedWrite(w []byte, vec []TlsArg, nat_n uint32) (_ []byte, err error)

func TupleTlsArgBoxedWriteJSON

func TupleTlsArgBoxedWriteJSON(w []byte, vec []TlsArg, nat_n uint32) (_ []byte, err error)

func TupleTlsCombinatorBoxedRead

func TupleTlsCombinatorBoxedRead(w []byte, vec *[]TlsCombinatorUnion, nat_n uint32) (_ []byte, err error)

func TupleTlsCombinatorBoxedReadJSON

func TupleTlsCombinatorBoxedReadJSON(j interface{}, vec *[]TlsCombinatorUnion, nat_n uint32) error

func TupleTlsCombinatorBoxedWrite

func TupleTlsCombinatorBoxedWrite(w []byte, vec []TlsCombinatorUnion, nat_n uint32) (_ []byte, err error)

func TupleTlsCombinatorBoxedWriteJSON

func TupleTlsCombinatorBoxedWriteJSON(w []byte, vec []TlsCombinatorUnion, nat_n uint32) (_ []byte, err error)

func TupleTlsExprBoxedRead

func TupleTlsExprBoxedRead(w []byte, vec *[]TlsExprUnion, nat_n uint32) (_ []byte, err error)

func TupleTlsExprBoxedReadJSON

func TupleTlsExprBoxedReadJSON(j interface{}, vec *[]TlsExprUnion, nat_n uint32) error

func TupleTlsExprBoxedWrite

func TupleTlsExprBoxedWrite(w []byte, vec []TlsExprUnion, nat_n uint32) (_ []byte, err error)

func TupleTlsExprBoxedWriteJSON

func TupleTlsExprBoxedWriteJSON(w []byte, vec []TlsExprUnion, nat_n uint32) (_ []byte, err error)

func TupleTlsTypeBoxedRead

func TupleTlsTypeBoxedRead(w []byte, vec *[]TlsType, nat_n uint32) (_ []byte, err error)

func TupleTlsTypeBoxedReadJSON

func TupleTlsTypeBoxedReadJSON(j interface{}, vec *[]TlsType, nat_n uint32) error

func TupleTlsTypeBoxedWrite

func TupleTlsTypeBoxedWrite(w []byte, vec []TlsType, nat_n uint32) (_ []byte, err error)

func TupleTlsTypeBoxedWriteJSON

func TupleTlsTypeBoxedWriteJSON(w []byte, vec []TlsType, nat_n uint32) (_ []byte, err error)

Types

type Rand

type Rand interface {
	Uint32() uint32
	Int31() int32
	Int63() int64
	NormFloat64() float64
}

type TlsArg

type TlsArg struct {
	Id          string
	Flags       uint32
	VarNum      int32 // Conditional: item.Flags.1
	ExistVarNum int32 // Conditional: item.Flags.2
	ExistVarBit int32 // Conditional: item.Flags.2
	Type        TlsTypeExprUnion
}

func (*TlsArg) ClearExistVarBit

func (item *TlsArg) ClearExistVarBit()

func (*TlsArg) ClearExistVarNum

func (item *TlsArg) ClearExistVarNum()

func (*TlsArg) ClearVarNum

func (item *TlsArg) ClearVarNum()

func (TlsArg) IsSetExistVarBit

func (item TlsArg) IsSetExistVarBit() bool

func (TlsArg) IsSetExistVarNum

func (item TlsArg) IsSetExistVarNum() bool

func (TlsArg) IsSetVarNum

func (item TlsArg) IsSetVarNum() bool

func (*TlsArg) MarshalJSON

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

func (*TlsArg) Read

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

func (*TlsArg) ReadBoxed

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

func (*TlsArg) Reset

func (item *TlsArg) Reset()

func (*TlsArg) SetExistVarBit

func (item *TlsArg) SetExistVarBit(v int32)

func (*TlsArg) SetExistVarNum

func (item *TlsArg) SetExistVarNum(v int32)

func (*TlsArg) SetVarNum

func (item *TlsArg) SetVarNum(v int32)

func (TlsArg) String

func (item TlsArg) String() string

func (TlsArg) TLName

func (TlsArg) TLName() string

func (TlsArg) TLTag

func (TlsArg) TLTag() uint32

func (*TlsArg) UnmarshalJSON

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

func (*TlsArg) Write

func (item *TlsArg) Write(w []byte) (_ []byte, err error)

func (*TlsArg) WriteBoxed

func (item *TlsArg) WriteBoxed(w []byte) ([]byte, error)

func (*TlsArg) WriteJSON

func (item *TlsArg) WriteJSON(w []byte) (_ []byte, err error)

type TlsArray

type TlsArray struct {
	Multiplicity TlsNatExprUnion
	ArgsNum      uint32
	Args         []TlsArg
}

AsUnion will be here

func (TlsArray) AsUnion

func (item TlsArray) AsUnion() TlsTypeExprUnion

func (*TlsArray) MarshalJSON

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

func (*TlsArray) Read

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

func (*TlsArray) ReadBoxed

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

func (*TlsArray) Reset

func (item *TlsArray) Reset()

func (TlsArray) String

func (item TlsArray) String() string

func (TlsArray) TLName

func (TlsArray) TLName() string

func (TlsArray) TLTag

func (TlsArray) TLTag() uint32

func (*TlsArray) UnmarshalJSON

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

func (*TlsArray) Write

func (item *TlsArray) Write(w []byte) (_ []byte, err error)

func (*TlsArray) WriteBoxed

func (item *TlsArray) WriteBoxed(w []byte) ([]byte, error)

func (*TlsArray) WriteJSON

func (item *TlsArray) WriteJSON(w []byte) (_ []byte, err error)

type TlsCombinator

type TlsCombinator struct {
	Name     int32
	Id       string
	TypeName int32
	Left     TlsCombinatorLeftUnion
	Right    TlsCombinatorRight
}

AsUnion will be here

func (TlsCombinator) AsUnion

func (item TlsCombinator) AsUnion() TlsCombinatorUnion

func (*TlsCombinator) MarshalJSON

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

func (*TlsCombinator) Read

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

func (*TlsCombinator) ReadBoxed

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

func (*TlsCombinator) Reset

func (item *TlsCombinator) Reset()

func (TlsCombinator) String

func (item TlsCombinator) String() string

func (TlsCombinator) TLName

func (TlsCombinator) TLName() string

func (TlsCombinator) TLTag

func (TlsCombinator) TLTag() uint32

func (*TlsCombinator) UnmarshalJSON

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

func (*TlsCombinator) Write

func (item *TlsCombinator) Write(w []byte) (_ []byte, err error)

func (*TlsCombinator) WriteBoxed

func (item *TlsCombinator) WriteBoxed(w []byte) ([]byte, error)

func (*TlsCombinator) WriteJSON

func (item *TlsCombinator) WriteJSON(w []byte) (_ []byte, err error)

type TlsCombinatorLeft

type TlsCombinatorLeft struct {
	ArgsNum uint32
	Args    []TlsArg
}

AsUnion will be here

func (TlsCombinatorLeft) AsUnion

func (*TlsCombinatorLeft) MarshalJSON

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

func (*TlsCombinatorLeft) Read

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

func (*TlsCombinatorLeft) ReadBoxed

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

func (*TlsCombinatorLeft) Reset

func (item *TlsCombinatorLeft) Reset()

func (TlsCombinatorLeft) String

func (item TlsCombinatorLeft) String() string

func (TlsCombinatorLeft) TLName

func (TlsCombinatorLeft) TLName() string

func (TlsCombinatorLeft) TLTag

func (TlsCombinatorLeft) TLTag() uint32

func (*TlsCombinatorLeft) UnmarshalJSON

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

func (*TlsCombinatorLeft) Write

func (item *TlsCombinatorLeft) Write(w []byte) (_ []byte, err error)

func (*TlsCombinatorLeft) WriteBoxed

func (item *TlsCombinatorLeft) WriteBoxed(w []byte) ([]byte, error)

func (*TlsCombinatorLeft) WriteJSON

func (item *TlsCombinatorLeft) WriteJSON(w []byte) (_ []byte, err error)

type TlsCombinatorLeftBuiltin

type TlsCombinatorLeftBuiltin struct {
}

AsUnion will be here

func (TlsCombinatorLeftBuiltin) AsUnion

func (*TlsCombinatorLeftBuiltin) MarshalJSON

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

func (*TlsCombinatorLeftBuiltin) Read

func (item *TlsCombinatorLeftBuiltin) Read(w []byte) ([]byte, error)

func (*TlsCombinatorLeftBuiltin) ReadBoxed

func (item *TlsCombinatorLeftBuiltin) ReadBoxed(w []byte) ([]byte, error)

func (*TlsCombinatorLeftBuiltin) Reset

func (item *TlsCombinatorLeftBuiltin) Reset()

func (TlsCombinatorLeftBuiltin) String

func (item TlsCombinatorLeftBuiltin) String() string

func (TlsCombinatorLeftBuiltin) TLName

func (TlsCombinatorLeftBuiltin) TLTag

func (*TlsCombinatorLeftBuiltin) UnmarshalJSON

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

func (*TlsCombinatorLeftBuiltin) Write

func (item *TlsCombinatorLeftBuiltin) Write(w []byte) ([]byte, error)

func (*TlsCombinatorLeftBuiltin) WriteBoxed

func (item *TlsCombinatorLeftBuiltin) WriteBoxed(w []byte) ([]byte, error)

func (*TlsCombinatorLeftBuiltin) WriteJSON

func (item *TlsCombinatorLeftBuiltin) WriteJSON(w []byte) (_ []byte, err error)

type TlsCombinatorLeftUnion

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

func (*TlsCombinatorLeftUnion) AsBuiltin

func (*TlsCombinatorLeftUnion) AsCombinatorLeft

func (item *TlsCombinatorLeftUnion) AsCombinatorLeft() (*TlsCombinatorLeft, bool)

func (*TlsCombinatorLeftUnion) IsBuiltin

func (item *TlsCombinatorLeftUnion) IsBuiltin() bool

func (*TlsCombinatorLeftUnion) IsCombinatorLeft

func (item *TlsCombinatorLeftUnion) IsCombinatorLeft() bool

func (*TlsCombinatorLeftUnion) ReadBoxed

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

func (*TlsCombinatorLeftUnion) Reset

func (item *TlsCombinatorLeftUnion) Reset()

func (*TlsCombinatorLeftUnion) ResetToBuiltin

func (item *TlsCombinatorLeftUnion) ResetToBuiltin()

func (*TlsCombinatorLeftUnion) ResetToCombinatorLeft

func (item *TlsCombinatorLeftUnion) ResetToCombinatorLeft() *TlsCombinatorLeft

func (*TlsCombinatorLeftUnion) SetBuiltin

func (item *TlsCombinatorLeftUnion) SetBuiltin()

func (*TlsCombinatorLeftUnion) SetCombinatorLeft

func (item *TlsCombinatorLeftUnion) SetCombinatorLeft(value TlsCombinatorLeft)

func (TlsCombinatorLeftUnion) String

func (item TlsCombinatorLeftUnion) String() string

func (TlsCombinatorLeftUnion) TLName

func (item TlsCombinatorLeftUnion) TLName() string

func (TlsCombinatorLeftUnion) TLTag

func (item TlsCombinatorLeftUnion) TLTag() uint32

func (*TlsCombinatorLeftUnion) WriteBoxed

func (item *TlsCombinatorLeftUnion) WriteBoxed(w []byte) (_ []byte, err error)

func (*TlsCombinatorLeftUnion) WriteJSON

func (item *TlsCombinatorLeftUnion) WriteJSON(w []byte) (_ []byte, err error)

type TlsCombinatorRight

type TlsCombinatorRight struct {
	Value TlsTypeExprUnion
}

func (*TlsCombinatorRight) MarshalJSON

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

func (*TlsCombinatorRight) Read

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

func (*TlsCombinatorRight) ReadBoxed

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

func (*TlsCombinatorRight) Reset

func (item *TlsCombinatorRight) Reset()

func (TlsCombinatorRight) String

func (item TlsCombinatorRight) String() string

func (TlsCombinatorRight) TLName

func (TlsCombinatorRight) TLName() string

func (TlsCombinatorRight) TLTag

func (TlsCombinatorRight) TLTag() uint32

func (*TlsCombinatorRight) UnmarshalJSON

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

func (*TlsCombinatorRight) Write

func (item *TlsCombinatorRight) Write(w []byte) (_ []byte, err error)

func (*TlsCombinatorRight) WriteBoxed

func (item *TlsCombinatorRight) WriteBoxed(w []byte) ([]byte, error)

func (*TlsCombinatorRight) WriteJSON

func (item *TlsCombinatorRight) WriteJSON(w []byte) (_ []byte, err error)

type TlsCombinatorUnion

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

func (*TlsCombinatorUnion) AsCombinator

func (item *TlsCombinatorUnion) AsCombinator() (*TlsCombinator, bool)

func (*TlsCombinatorUnion) AsV4

func (item *TlsCombinatorUnion) AsV4() (*TlsCombinatorV4, bool)

func (*TlsCombinatorUnion) IsCombinator

func (item *TlsCombinatorUnion) IsCombinator() bool

func (*TlsCombinatorUnion) IsV4

func (item *TlsCombinatorUnion) IsV4() bool

func (*TlsCombinatorUnion) ReadBoxed

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

func (*TlsCombinatorUnion) Reset

func (item *TlsCombinatorUnion) Reset()

func (*TlsCombinatorUnion) ResetToCombinator

func (item *TlsCombinatorUnion) ResetToCombinator() *TlsCombinator

func (*TlsCombinatorUnion) ResetToV4

func (item *TlsCombinatorUnion) ResetToV4() *TlsCombinatorV4

func (*TlsCombinatorUnion) SetCombinator

func (item *TlsCombinatorUnion) SetCombinator(value TlsCombinator)

func (*TlsCombinatorUnion) SetV4

func (item *TlsCombinatorUnion) SetV4(value TlsCombinatorV4)

func (TlsCombinatorUnion) String

func (item TlsCombinatorUnion) String() string

func (TlsCombinatorUnion) TLName

func (item TlsCombinatorUnion) TLName() string

func (TlsCombinatorUnion) TLTag

func (item TlsCombinatorUnion) TLTag() uint32

func (*TlsCombinatorUnion) WriteBoxed

func (item *TlsCombinatorUnion) WriteBoxed(w []byte) (_ []byte, err error)

func (*TlsCombinatorUnion) WriteJSON

func (item *TlsCombinatorUnion) WriteJSON(w []byte) (_ []byte, err error)

type TlsCombinatorV4

type TlsCombinatorV4 struct {
	Name     int32
	Id       string
	TypeName int32
	Left     TlsCombinatorLeftUnion
	Right    TlsCombinatorRight
	Flags    int32
}

AsUnion will be here

func (TlsCombinatorV4) AsUnion

func (item TlsCombinatorV4) AsUnion() TlsCombinatorUnion

func (*TlsCombinatorV4) MarshalJSON

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

func (*TlsCombinatorV4) Read

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

func (*TlsCombinatorV4) ReadBoxed

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

func (*TlsCombinatorV4) Reset

func (item *TlsCombinatorV4) Reset()

func (TlsCombinatorV4) String

func (item TlsCombinatorV4) String() string

func (TlsCombinatorV4) TLName

func (TlsCombinatorV4) TLName() string

func (TlsCombinatorV4) TLTag

func (TlsCombinatorV4) TLTag() uint32

func (*TlsCombinatorV4) UnmarshalJSON

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

func (*TlsCombinatorV4) Write

func (item *TlsCombinatorV4) Write(w []byte) (_ []byte, err error)

func (*TlsCombinatorV4) WriteBoxed

func (item *TlsCombinatorV4) WriteBoxed(w []byte) ([]byte, error)

func (*TlsCombinatorV4) WriteJSON

func (item *TlsCombinatorV4) WriteJSON(w []byte) (_ []byte, err error)

type TlsExprNat

type TlsExprNat struct {
	Expr TlsNatExprUnion
}

AsUnion will be here

func (TlsExprNat) AsUnion

func (item TlsExprNat) AsUnion() TlsExprUnion

func (*TlsExprNat) MarshalJSON

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

func (*TlsExprNat) Read

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

func (*TlsExprNat) ReadBoxed

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

func (*TlsExprNat) Reset

func (item *TlsExprNat) Reset()

func (TlsExprNat) String

func (item TlsExprNat) String() string

func (TlsExprNat) TLName

func (TlsExprNat) TLName() string

func (TlsExprNat) TLTag

func (TlsExprNat) TLTag() uint32

func (*TlsExprNat) UnmarshalJSON

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

func (*TlsExprNat) Write

func (item *TlsExprNat) Write(w []byte) (_ []byte, err error)

func (*TlsExprNat) WriteBoxed

func (item *TlsExprNat) WriteBoxed(w []byte) ([]byte, error)

func (*TlsExprNat) WriteJSON

func (item *TlsExprNat) WriteJSON(w []byte) (_ []byte, err error)

type TlsExprType

type TlsExprType struct {
	Expr TlsTypeExprUnion
}

AsUnion will be here

func (TlsExprType) AsUnion

func (item TlsExprType) AsUnion() TlsExprUnion

func (*TlsExprType) MarshalJSON

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

func (*TlsExprType) Read

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

func (*TlsExprType) ReadBoxed

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

func (*TlsExprType) Reset

func (item *TlsExprType) Reset()

func (TlsExprType) String

func (item TlsExprType) String() string

func (TlsExprType) TLName

func (TlsExprType) TLName() string

func (TlsExprType) TLTag

func (TlsExprType) TLTag() uint32

func (*TlsExprType) UnmarshalJSON

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

func (*TlsExprType) Write

func (item *TlsExprType) Write(w []byte) (_ []byte, err error)

func (*TlsExprType) WriteBoxed

func (item *TlsExprType) WriteBoxed(w []byte) ([]byte, error)

func (*TlsExprType) WriteJSON

func (item *TlsExprType) WriteJSON(w []byte) (_ []byte, err error)

type TlsExprUnion

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

func (*TlsExprUnion) AsNat

func (item *TlsExprUnion) AsNat() (*TlsExprNat, bool)

func (*TlsExprUnion) AsType

func (item *TlsExprUnion) AsType() (*TlsExprType, bool)

func (*TlsExprUnion) IsNat

func (item *TlsExprUnion) IsNat() bool

func (*TlsExprUnion) IsType

func (item *TlsExprUnion) IsType() bool

func (*TlsExprUnion) ReadBoxed

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

func (*TlsExprUnion) Reset

func (item *TlsExprUnion) Reset()

func (*TlsExprUnion) ResetToNat

func (item *TlsExprUnion) ResetToNat() *TlsExprNat

func (*TlsExprUnion) ResetToType

func (item *TlsExprUnion) ResetToType() *TlsExprType

func (*TlsExprUnion) SetNat

func (item *TlsExprUnion) SetNat(value TlsExprNat)

func (*TlsExprUnion) SetType

func (item *TlsExprUnion) SetType(value TlsExprType)

func (TlsExprUnion) String

func (item TlsExprUnion) String() string

func (TlsExprUnion) TLName

func (item TlsExprUnion) TLName() string

func (TlsExprUnion) TLTag

func (item TlsExprUnion) TLTag() uint32

func (*TlsExprUnion) WriteBoxed

func (item *TlsExprUnion) WriteBoxed(w []byte) (_ []byte, err error)

func (*TlsExprUnion) WriteJSON

func (item *TlsExprUnion) WriteJSON(w []byte) (_ []byte, err error)

type TlsNatConst

type TlsNatConst struct {
	Value int32
}

AsUnion will be here

func (TlsNatConst) AsUnion

func (item TlsNatConst) AsUnion() TlsNatExprUnion

func (*TlsNatConst) MarshalJSON

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

func (*TlsNatConst) Read

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

func (*TlsNatConst) ReadBoxed

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

func (*TlsNatConst) Reset

func (item *TlsNatConst) Reset()

func (TlsNatConst) String

func (item TlsNatConst) String() string

func (TlsNatConst) TLName

func (TlsNatConst) TLName() string

func (TlsNatConst) TLTag

func (TlsNatConst) TLTag() uint32

func (*TlsNatConst) UnmarshalJSON

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

func (*TlsNatConst) Write

func (item *TlsNatConst) Write(w []byte) (_ []byte, err error)

func (*TlsNatConst) WriteBoxed

func (item *TlsNatConst) WriteBoxed(w []byte) ([]byte, error)

func (*TlsNatConst) WriteJSON

func (item *TlsNatConst) WriteJSON(w []byte) (_ []byte, err error)

type TlsNatExprUnion

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

func (*TlsNatExprUnion) AsNatConst

func (item *TlsNatExprUnion) AsNatConst() (*TlsNatConst, bool)

func (*TlsNatExprUnion) AsNatVar

func (item *TlsNatExprUnion) AsNatVar() (*TlsNatVar, bool)

func (*TlsNatExprUnion) IsNatConst

func (item *TlsNatExprUnion) IsNatConst() bool

func (*TlsNatExprUnion) IsNatVar

func (item *TlsNatExprUnion) IsNatVar() bool

func (*TlsNatExprUnion) ReadBoxed

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

func (*TlsNatExprUnion) Reset

func (item *TlsNatExprUnion) Reset()

func (*TlsNatExprUnion) ResetToNatConst

func (item *TlsNatExprUnion) ResetToNatConst() *TlsNatConst

func (*TlsNatExprUnion) ResetToNatVar

func (item *TlsNatExprUnion) ResetToNatVar() *TlsNatVar

func (*TlsNatExprUnion) SetNatConst

func (item *TlsNatExprUnion) SetNatConst(value TlsNatConst)

func (*TlsNatExprUnion) SetNatVar

func (item *TlsNatExprUnion) SetNatVar(value TlsNatVar)

func (TlsNatExprUnion) String

func (item TlsNatExprUnion) String() string

func (TlsNatExprUnion) TLName

func (item TlsNatExprUnion) TLName() string

func (TlsNatExprUnion) TLTag

func (item TlsNatExprUnion) TLTag() uint32

func (*TlsNatExprUnion) WriteBoxed

func (item *TlsNatExprUnion) WriteBoxed(w []byte) (_ []byte, err error)

func (*TlsNatExprUnion) WriteJSON

func (item *TlsNatExprUnion) WriteJSON(w []byte) (_ []byte, err error)

type TlsNatVar

type TlsNatVar struct {
	Dif    int32
	VarNum int32
}

AsUnion will be here

func (TlsNatVar) AsUnion

func (item TlsNatVar) AsUnion() TlsNatExprUnion

func (*TlsNatVar) MarshalJSON

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

func (*TlsNatVar) Read

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

func (*TlsNatVar) ReadBoxed

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

func (*TlsNatVar) Reset

func (item *TlsNatVar) Reset()

func (TlsNatVar) String

func (item TlsNatVar) String() string

func (TlsNatVar) TLName

func (TlsNatVar) TLName() string

func (TlsNatVar) TLTag

func (TlsNatVar) TLTag() uint32

func (*TlsNatVar) UnmarshalJSON

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

func (*TlsNatVar) Write

func (item *TlsNatVar) Write(w []byte) (_ []byte, err error)

func (*TlsNatVar) WriteBoxed

func (item *TlsNatVar) WriteBoxed(w []byte) ([]byte, error)

func (*TlsNatVar) WriteJSON

func (item *TlsNatVar) WriteJSON(w []byte) (_ []byte, err error)

type TlsSchemaUnion

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

func (*TlsSchemaUnion) AsV2

func (item *TlsSchemaUnion) AsV2() (*TlsSchemaV2, bool)

func (*TlsSchemaUnion) AsV3

func (item *TlsSchemaUnion) AsV3() (*TlsSchemaV3, bool)

func (*TlsSchemaUnion) AsV4

func (item *TlsSchemaUnion) AsV4() (*TlsSchemaV4, bool)

func (*TlsSchemaUnion) IsV2

func (item *TlsSchemaUnion) IsV2() bool

func (*TlsSchemaUnion) IsV3

func (item *TlsSchemaUnion) IsV3() bool

func (*TlsSchemaUnion) IsV4

func (item *TlsSchemaUnion) IsV4() bool

func (*TlsSchemaUnion) ReadBoxed

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

func (*TlsSchemaUnion) Reset

func (item *TlsSchemaUnion) Reset()

func (*TlsSchemaUnion) ResetToV2

func (item *TlsSchemaUnion) ResetToV2() *TlsSchemaV2

func (*TlsSchemaUnion) ResetToV3

func (item *TlsSchemaUnion) ResetToV3() *TlsSchemaV3

func (*TlsSchemaUnion) ResetToV4

func (item *TlsSchemaUnion) ResetToV4() *TlsSchemaV4

func (*TlsSchemaUnion) SetV2

func (item *TlsSchemaUnion) SetV2(value TlsSchemaV2)

func (*TlsSchemaUnion) SetV3

func (item *TlsSchemaUnion) SetV3(value TlsSchemaV3)

func (*TlsSchemaUnion) SetV4

func (item *TlsSchemaUnion) SetV4(value TlsSchemaV4)

func (TlsSchemaUnion) String

func (item TlsSchemaUnion) String() string

func (TlsSchemaUnion) TLName

func (item TlsSchemaUnion) TLName() string

func (TlsSchemaUnion) TLTag

func (item TlsSchemaUnion) TLTag() uint32

func (*TlsSchemaUnion) WriteBoxed

func (item *TlsSchemaUnion) WriteBoxed(w []byte) (_ []byte, err error)

func (*TlsSchemaUnion) WriteJSON

func (item *TlsSchemaUnion) WriteJSON(w []byte) (_ []byte, err error)

type TlsSchemaV2

type TlsSchemaV2 struct {
	Version        int32
	Date           int32
	TypesNum       uint32
	Types          []TlsType
	ConstructorNum uint32
	Constructors   []TlsCombinatorUnion
	FunctionsNum   uint32
	Functions      []TlsCombinatorUnion
}

AsUnion will be here

func (TlsSchemaV2) AsUnion

func (item TlsSchemaV2) AsUnion() TlsSchemaUnion

func (*TlsSchemaV2) MarshalJSON

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

func (*TlsSchemaV2) Read

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

func (*TlsSchemaV2) ReadBoxed

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

func (*TlsSchemaV2) Reset

func (item *TlsSchemaV2) Reset()

func (TlsSchemaV2) String

func (item TlsSchemaV2) String() string

func (TlsSchemaV2) TLName

func (TlsSchemaV2) TLName() string

func (TlsSchemaV2) TLTag

func (TlsSchemaV2) TLTag() uint32

func (*TlsSchemaV2) UnmarshalJSON

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

func (*TlsSchemaV2) Write

func (item *TlsSchemaV2) Write(w []byte) (_ []byte, err error)

func (*TlsSchemaV2) WriteBoxed

func (item *TlsSchemaV2) WriteBoxed(w []byte) ([]byte, error)

func (*TlsSchemaV2) WriteJSON

func (item *TlsSchemaV2) WriteJSON(w []byte) (_ []byte, err error)

type TlsSchemaV3

type TlsSchemaV3 struct {
	Version        int32
	Date           int32
	TypesNum       uint32
	Types          []TlsType
	ConstructorNum uint32
	Constructors   []TlsCombinatorUnion
	FunctionsNum   uint32
	Functions      []TlsCombinatorUnion
}

AsUnion will be here

func (TlsSchemaV3) AsUnion

func (item TlsSchemaV3) AsUnion() TlsSchemaUnion

func (*TlsSchemaV3) MarshalJSON

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

func (*TlsSchemaV3) Read

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

func (*TlsSchemaV3) ReadBoxed

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

func (*TlsSchemaV3) Reset

func (item *TlsSchemaV3) Reset()

func (TlsSchemaV3) String

func (item TlsSchemaV3) String() string

func (TlsSchemaV3) TLName

func (TlsSchemaV3) TLName() string

func (TlsSchemaV3) TLTag

func (TlsSchemaV3) TLTag() uint32

func (*TlsSchemaV3) UnmarshalJSON

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

func (*TlsSchemaV3) Write

func (item *TlsSchemaV3) Write(w []byte) (_ []byte, err error)

func (*TlsSchemaV3) WriteBoxed

func (item *TlsSchemaV3) WriteBoxed(w []byte) ([]byte, error)

func (*TlsSchemaV3) WriteJSON

func (item *TlsSchemaV3) WriteJSON(w []byte) (_ []byte, err error)

type TlsSchemaV4

type TlsSchemaV4 struct {
	Version        int32
	Date           int32
	TypesNum       uint32
	Types          []TlsType
	ConstructorNum uint32
	Constructors   []TlsCombinatorUnion
	FunctionsNum   uint32
	Functions      []TlsCombinatorUnion
}

AsUnion will be here

func (TlsSchemaV4) AsUnion

func (item TlsSchemaV4) AsUnion() TlsSchemaUnion

func (*TlsSchemaV4) MarshalJSON

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

func (*TlsSchemaV4) Read

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

func (*TlsSchemaV4) ReadBoxed

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

func (*TlsSchemaV4) Reset

func (item *TlsSchemaV4) Reset()

func (TlsSchemaV4) String

func (item TlsSchemaV4) String() string

func (TlsSchemaV4) TLName

func (TlsSchemaV4) TLName() string

func (TlsSchemaV4) TLTag

func (TlsSchemaV4) TLTag() uint32

func (*TlsSchemaV4) UnmarshalJSON

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

func (*TlsSchemaV4) Write

func (item *TlsSchemaV4) Write(w []byte) (_ []byte, err error)

func (*TlsSchemaV4) WriteBoxed

func (item *TlsSchemaV4) WriteBoxed(w []byte) ([]byte, error)

func (*TlsSchemaV4) WriteJSON

func (item *TlsSchemaV4) WriteJSON(w []byte) (_ []byte, err error)

type TlsType

type TlsType struct {
	Name            int32
	Id              string
	ConstructorsNum int32
	Flags           int32
	Arity           int32
	ParamsType      int64
}

func (*TlsType) MarshalJSON

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

func (*TlsType) Read

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

func (*TlsType) ReadBoxed

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

func (*TlsType) Reset

func (item *TlsType) Reset()

func (TlsType) String

func (item TlsType) String() string

func (TlsType) TLName

func (TlsType) TLName() string

func (TlsType) TLTag

func (TlsType) TLTag() uint32

func (*TlsType) UnmarshalJSON

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

func (*TlsType) Write

func (item *TlsType) Write(w []byte) (_ []byte, err error)

func (*TlsType) WriteBoxed

func (item *TlsType) WriteBoxed(w []byte) ([]byte, error)

func (*TlsType) WriteJSON

func (item *TlsType) WriteJSON(w []byte) (_ []byte, err error)

type TlsTypeExpr

type TlsTypeExpr struct {
	Name        int32
	Flags       int32
	ChildrenNum uint32
	Children    []TlsExprUnion
}

AsUnion will be here

func (TlsTypeExpr) AsUnion

func (item TlsTypeExpr) AsUnion() TlsTypeExprUnion

func (*TlsTypeExpr) MarshalJSON

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

func (*TlsTypeExpr) Read

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

func (*TlsTypeExpr) ReadBoxed

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

func (*TlsTypeExpr) Reset

func (item *TlsTypeExpr) Reset()

func (TlsTypeExpr) String

func (item TlsTypeExpr) String() string

func (TlsTypeExpr) TLName

func (TlsTypeExpr) TLName() string

func (TlsTypeExpr) TLTag

func (TlsTypeExpr) TLTag() uint32

func (*TlsTypeExpr) UnmarshalJSON

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

func (*TlsTypeExpr) Write

func (item *TlsTypeExpr) Write(w []byte) (_ []byte, err error)

func (*TlsTypeExpr) WriteBoxed

func (item *TlsTypeExpr) WriteBoxed(w []byte) ([]byte, error)

func (*TlsTypeExpr) WriteJSON

func (item *TlsTypeExpr) WriteJSON(w []byte) (_ []byte, err error)

type TlsTypeExprUnion

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

func (*TlsTypeExprUnion) AsArray

func (item *TlsTypeExprUnion) AsArray() (*TlsArray, bool)

func (*TlsTypeExprUnion) AsTypeExpr

func (item *TlsTypeExprUnion) AsTypeExpr() (*TlsTypeExpr, bool)

func (*TlsTypeExprUnion) AsTypeVar

func (item *TlsTypeExprUnion) AsTypeVar() (*TlsTypeVar, bool)

func (*TlsTypeExprUnion) IsArray

func (item *TlsTypeExprUnion) IsArray() bool

func (*TlsTypeExprUnion) IsTypeExpr

func (item *TlsTypeExprUnion) IsTypeExpr() bool

func (*TlsTypeExprUnion) IsTypeVar

func (item *TlsTypeExprUnion) IsTypeVar() bool

func (*TlsTypeExprUnion) ReadBoxed

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

func (*TlsTypeExprUnion) Reset

func (item *TlsTypeExprUnion) Reset()

func (*TlsTypeExprUnion) ResetToArray

func (item *TlsTypeExprUnion) ResetToArray() *TlsArray

func (*TlsTypeExprUnion) ResetToTypeExpr

func (item *TlsTypeExprUnion) ResetToTypeExpr() *TlsTypeExpr

func (*TlsTypeExprUnion) ResetToTypeVar

func (item *TlsTypeExprUnion) ResetToTypeVar() *TlsTypeVar

func (*TlsTypeExprUnion) SetArray

func (item *TlsTypeExprUnion) SetArray(value TlsArray)

func (*TlsTypeExprUnion) SetTypeExpr

func (item *TlsTypeExprUnion) SetTypeExpr(value TlsTypeExpr)

func (*TlsTypeExprUnion) SetTypeVar

func (item *TlsTypeExprUnion) SetTypeVar(value TlsTypeVar)

func (TlsTypeExprUnion) String

func (item TlsTypeExprUnion) String() string

func (TlsTypeExprUnion) TLName

func (item TlsTypeExprUnion) TLName() string

func (TlsTypeExprUnion) TLTag

func (item TlsTypeExprUnion) TLTag() uint32

func (*TlsTypeExprUnion) WriteBoxed

func (item *TlsTypeExprUnion) WriteBoxed(w []byte) (_ []byte, err error)

func (*TlsTypeExprUnion) WriteJSON

func (item *TlsTypeExprUnion) WriteJSON(w []byte) (_ []byte, err error)

type TlsTypeVar

type TlsTypeVar struct {
	VarNum int32
	Flags  int32
}

AsUnion will be here

func (TlsTypeVar) AsUnion

func (item TlsTypeVar) AsUnion() TlsTypeExprUnion

func (*TlsTypeVar) MarshalJSON

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

func (*TlsTypeVar) Read

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

func (*TlsTypeVar) ReadBoxed

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

func (*TlsTypeVar) Reset

func (item *TlsTypeVar) Reset()

func (TlsTypeVar) String

func (item TlsTypeVar) String() string

func (TlsTypeVar) TLName

func (TlsTypeVar) TLName() string

func (TlsTypeVar) TLTag

func (TlsTypeVar) TLTag() uint32

func (*TlsTypeVar) UnmarshalJSON

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

func (*TlsTypeVar) Write

func (item *TlsTypeVar) Write(w []byte) (_ []byte, err error)

func (*TlsTypeVar) WriteBoxed

func (item *TlsTypeVar) WriteBoxed(w []byte) ([]byte, error)

func (*TlsTypeVar) WriteJSON

func (item *TlsTypeVar) WriteJSON(w []byte) (_ []byte, err error)

type UnionElement

type UnionElement struct {
	TLTag    uint32
	TLName   string
	TLString string
}

Jump to

Keyboard shortcuts

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