internal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

This file was auto-generated by the vanadium vdl tool. Package: internal

Index

Constants

This section is empty.

Variables

View Source
var VEnumAll = [...]VEnum{VEnumA, VEnumB, VEnumC}

VEnumAll holds all labels for VEnum.

Functions

func VDLReadVSmallUnion

func VDLReadVSmallUnion(dec vdl.Decoder, x *VSmallUnion) error

Types

type VArray

type VArray [3]int32

func (VArray) VDLIsZero

func (x VArray) VDLIsZero() bool

func (*VArray) VDLRead

func (x *VArray) VDLRead(dec vdl.Decoder) error

func (VArray) VDLReflect

func (VArray) VDLReflect(struct {
	Name string `vdl:"v.io/v23/vom/internal.VArray"`
})

func (VArray) VDLWrite

func (x VArray) VDLWrite(enc vdl.Encoder) error

type VByteArray

type VByteArray [3]byte

func (VByteArray) VDLIsZero

func (x VByteArray) VDLIsZero() bool

func (*VByteArray) VDLRead

func (x *VByteArray) VDLRead(dec vdl.Decoder) error

func (VByteArray) VDLReflect

func (VByteArray) VDLReflect(struct {
	Name string `vdl:"v.io/v23/vom/internal.VByteArray"`
})

func (VByteArray) VDLWrite

func (x VByteArray) VDLWrite(enc vdl.Encoder) error

type VByteList

type VByteList []byte

func (VByteList) VDLIsZero

func (x VByteList) VDLIsZero() bool

func (*VByteList) VDLRead

func (x *VByteList) VDLRead(dec vdl.Decoder) error

func (VByteList) VDLReflect

func (VByteList) VDLReflect(struct {
	Name string `vdl:"v.io/v23/vom/internal.VByteList"`
})

func (VByteList) VDLWrite

func (x VByteList) VDLWrite(enc vdl.Encoder) error

type VEnum

type VEnum int
const (
	VEnumA VEnum = iota
	VEnumB
	VEnumC
)

func VEnumFromString

func VEnumFromString(label string) (x VEnum, err error)

VEnumFromString creates a VEnum from a string label.

func (*VEnum) Set

func (x *VEnum) Set(label string) error

Set assigns label to x.

func (VEnum) String

func (x VEnum) String() string

String returns the string label of x.

func (VEnum) VDLIsZero

func (x VEnum) VDLIsZero() bool

func (*VEnum) VDLRead

func (x *VEnum) VDLRead(dec vdl.Decoder) error

func (VEnum) VDLReflect

func (VEnum) VDLReflect(struct {
	Name string `vdl:"v.io/v23/vom/internal.VEnum"`
	Enum struct{ A, B, C string }
})

func (VEnum) VDLWrite

func (x VEnum) VDLWrite(enc vdl.Encoder) error

type VLargeStruct

type VLargeStruct struct {
	F1  int32
	F2  int32
	F3  int32
	F4  int32
	F5  int32
	F6  int32
	F7  int32
	F8  int32
	F9  int32
	F10 int32
	F11 int32
	F12 int32
	F13 int32
	F14 int32
	F15 int32
	F16 int32
	F17 int32
	F18 int32
	F19 int32
	F20 int32
	F21 int32
	F22 int32
	F23 int32
	F24 int32
	F25 int32
	F26 int32
	F27 int32
	F28 int32
	F29 int32
	F30 int32
	F31 int32
	F32 int32
	F33 int32
	F34 int32
	F35 int32
	F36 int32
	F37 int32
	F38 int32
	F39 int32
	F40 int32
	F41 int32
	F42 int32
	F43 int32
	F44 int32
	F45 int32
	F46 int32
	F47 int32
	F48 int32
	F49 int32
	F50 int32
}

func (VLargeStruct) VDLIsZero

func (x VLargeStruct) VDLIsZero() bool

func (*VLargeStruct) VDLRead

func (x *VLargeStruct) VDLRead(dec vdl.Decoder) error

func (VLargeStruct) VDLReflect

func (VLargeStruct) VDLReflect(struct {
	Name string `vdl:"v.io/v23/vom/internal.VLargeStruct"`
})

func (VLargeStruct) VDLWrite

func (x VLargeStruct) VDLWrite(enc vdl.Encoder) error

type VList

type VList []int32

func (VList) VDLIsZero

func (x VList) VDLIsZero() bool

func (*VList) VDLRead

func (x *VList) VDLRead(dec vdl.Decoder) error

func (VList) VDLReflect

func (VList) VDLReflect(struct {
	Name string `vdl:"v.io/v23/vom/internal.VList"`
})

func (VList) VDLWrite

func (x VList) VDLWrite(enc vdl.Encoder) error

type VListAny

type VListAny []*vom.RawBytes

func (VListAny) VDLIsZero

func (x VListAny) VDLIsZero() bool

func (*VListAny) VDLRead

func (x *VListAny) VDLRead(dec vdl.Decoder) error

func (VListAny) VDLReflect

func (VListAny) VDLReflect(struct {
	Name string `vdl:"v.io/v23/vom/internal.VListAny"`
})

func (VListAny) VDLWrite

func (x VListAny) VDLWrite(enc vdl.Encoder) error

type VMap

type VMap map[string]bool

func (VMap) VDLIsZero

func (x VMap) VDLIsZero() bool

func (*VMap) VDLRead

func (x *VMap) VDLRead(dec vdl.Decoder) error

func (VMap) VDLReflect

func (VMap) VDLReflect(struct {
	Name string `vdl:"v.io/v23/vom/internal.VMap"`
})

func (VMap) VDLWrite

func (x VMap) VDLWrite(enc vdl.Encoder) error

type VNumber

type VNumber int32

Type definitions ================

func (VNumber) VDLIsZero

func (x VNumber) VDLIsZero() bool

func (*VNumber) VDLRead

func (x *VNumber) VDLRead(dec vdl.Decoder) error

func (VNumber) VDLReflect

func (VNumber) VDLReflect(struct {
	Name string `vdl:"v.io/v23/vom/internal.VNumber"`
})

func (VNumber) VDLWrite

func (x VNumber) VDLWrite(enc vdl.Encoder) error

type VSet

type VSet map[string]struct{}

func (VSet) VDLIsZero

func (x VSet) VDLIsZero() bool

func (*VSet) VDLRead

func (x *VSet) VDLRead(dec vdl.Decoder) error

func (VSet) VDLReflect

func (VSet) VDLReflect(struct {
	Name string `vdl:"v.io/v23/vom/internal.VSet"`
})

func (VSet) VDLWrite

func (x VSet) VDLWrite(enc vdl.Encoder) error

type VSmallStruct

type VSmallStruct struct {
	A int32
	B string
	C bool
}

func (VSmallStruct) VDLIsZero

func (x VSmallStruct) VDLIsZero() bool

func (*VSmallStruct) VDLRead

func (x *VSmallStruct) VDLRead(dec vdl.Decoder) error

func (VSmallStruct) VDLReflect

func (VSmallStruct) VDLReflect(struct {
	Name string `vdl:"v.io/v23/vom/internal.VSmallStruct"`
})

func (VSmallStruct) VDLWrite

func (x VSmallStruct) VDLWrite(enc vdl.Encoder) error

type VSmallUnion

type VSmallUnion interface {
	// Index returns the field index.
	Index() int
	// Interface returns the field value as an interface.
	Interface() interface{}
	// Name returns the field name.
	Name() string
	// VDLReflect describes the VSmallUnion union type.
	VDLReflect(vdlVSmallUnionReflect)
	VDLIsZero() bool
	VDLWrite(vdl.Encoder) error
}

VSmallUnion represents any single field of the VSmallUnion union type.

type VSmallUnionA

type VSmallUnionA struct{ Value int32 }

VSmallUnionA represents field A of the VSmallUnion union type.

func (VSmallUnionA) Index

func (x VSmallUnionA) Index() int

func (VSmallUnionA) Interface

func (x VSmallUnionA) Interface() interface{}

func (VSmallUnionA) Name

func (x VSmallUnionA) Name() string

func (VSmallUnionA) VDLIsZero

func (x VSmallUnionA) VDLIsZero() bool

func (VSmallUnionA) VDLReflect

func (x VSmallUnionA) VDLReflect(vdlVSmallUnionReflect)

func (VSmallUnionA) VDLWrite

func (x VSmallUnionA) VDLWrite(enc vdl.Encoder) error

type VSmallUnionB

type VSmallUnionB struct{ Value string }

VSmallUnionB represents field B of the VSmallUnion union type.

func (VSmallUnionB) Index

func (x VSmallUnionB) Index() int

func (VSmallUnionB) Interface

func (x VSmallUnionB) Interface() interface{}

func (VSmallUnionB) Name

func (x VSmallUnionB) Name() string

func (VSmallUnionB) VDLIsZero

func (x VSmallUnionB) VDLIsZero() bool

func (VSmallUnionB) VDLReflect

func (x VSmallUnionB) VDLReflect(vdlVSmallUnionReflect)

func (VSmallUnionB) VDLWrite

func (x VSmallUnionB) VDLWrite(enc vdl.Encoder) error

type VSmallUnionC

type VSmallUnionC struct{ Value bool }

VSmallUnionC represents field C of the VSmallUnion union type.

func (VSmallUnionC) Index

func (x VSmallUnionC) Index() int

func (VSmallUnionC) Interface

func (x VSmallUnionC) Interface() interface{}

func (VSmallUnionC) Name

func (x VSmallUnionC) Name() string

func (VSmallUnionC) VDLIsZero

func (x VSmallUnionC) VDLIsZero() bool

func (VSmallUnionC) VDLReflect

func (x VSmallUnionC) VDLReflect(vdlVSmallUnionReflect)

func (VSmallUnionC) VDLWrite

func (x VSmallUnionC) VDLWrite(enc vdl.Encoder) error

type VString

type VString string

func (VString) VDLIsZero

func (x VString) VDLIsZero() bool

func (*VString) VDLRead

func (x *VString) VDLRead(dec vdl.Decoder) error

func (VString) VDLReflect

func (VString) VDLReflect(struct {
	Name string `vdl:"v.io/v23/vom/internal.VString"`
})

func (VString) VDLWrite

func (x VString) VDLWrite(enc vdl.Encoder) error

type VStructWithNative added in v0.1.17

type VStructWithNative struct {
	Time     time.Time
	Duration time.Duration
}

func (VStructWithNative) VDLIsZero added in v0.1.17

func (x VStructWithNative) VDLIsZero() bool

func (*VStructWithNative) VDLRead added in v0.1.17

func (x *VStructWithNative) VDLRead(dec vdl.Decoder) error

func (VStructWithNative) VDLReflect added in v0.1.17

func (VStructWithNative) VDLReflect(struct {
	Name string `vdl:"v.io/v23/vom/internal.VStructWithNative"`
})

func (VStructWithNative) VDLWrite added in v0.1.17

func (x VStructWithNative) VDLWrite(enc vdl.Encoder) error

type VStructWithOptional added in v0.1.17

type VStructWithOptional struct {
	F1 int32
	F2 *VSmallStruct
}

func (VStructWithOptional) VDLIsZero added in v0.1.17

func (x VStructWithOptional) VDLIsZero() bool

func (*VStructWithOptional) VDLRead added in v0.1.17

func (x *VStructWithOptional) VDLRead(dec vdl.Decoder) error

func (VStructWithOptional) VDLReflect added in v0.1.17

func (VStructWithOptional) VDLReflect(struct {
	Name string `vdl:"v.io/v23/vom/internal.VStructWithOptional"`
})

func (VStructWithOptional) VDLWrite added in v0.1.17

func (x VStructWithOptional) VDLWrite(enc vdl.Encoder) error

type XArray

type XArray [3]int32

type XByteArray

type XByteArray [3]byte

type XByteList

type XByteList []byte

type XLargeStruct

type XLargeStruct struct {
	F1  int32
	F2  int32
	F3  int32
	F4  int32
	F5  int32
	F6  int32
	F7  int32
	F8  int32
	F9  int32
	F10 int32
	F11 int32
	F12 int32
	F13 int32
	F14 int32
	F15 int32
	F16 int32
	F17 int32
	F18 int32
	F19 int32
	F20 int32
	F21 int32
	F22 int32
	F23 int32
	F24 int32
	F25 int32
	F26 int32
	F27 int32
	F28 int32
	F29 int32
	F30 int32
	F31 int32
	F32 int32
	F33 int32
	F34 int32
	F35 int32
	F36 int32
	F37 int32
	F38 int32
	F39 int32
	F40 int32
	F41 int32
	F42 int32
	F43 int32
	F44 int32
	F45 int32
	F46 int32
	F47 int32
	F48 int32
	F49 int32
	F50 int32
}

type XList

type XList []int32

type XListAny

type XListAny []*vom.RawBytes

type XMap

type XMap map[string]bool

type XNumber

type XNumber int32

type XSmallStruct

type XSmallStruct struct {
	A int32
	B string
	C bool
}

type XString

type XString string

type XStructWithNative added in v0.1.17

type XStructWithNative struct {
	Time     time.Time
	Duration time.Duration
}

type XStructWithOptional added in v0.1.17

type XStructWithOptional struct {
	F1 int32
	F2 *XSmallStruct
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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