testpackage

package
v0.0.0-...-eee87fb Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause, Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Element

type Element struct {
	A int32

	VarSizes []varSize `arrayCount:"FirstUint16" offsetsArray:"Offset32" offsetRelativeTo:"Parent"`
	// contains filtered or unexported fields
}

func ParseElement

func ParseElement(src []byte, parentSrc []byte) (Element, int, error)

type ImplicitITF

type ImplicitITF interface {
	// contains filtered or unexported methods
}

func ParseImplicitITF

func ParseImplicitITF(src []byte) (ImplicitITF, int, error)

type ImplicitITF1

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

func ParseImplicitITF1

func ParseImplicitITF1(src []byte) (ImplicitITF1, int, error)

type ImplicitITF2

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

func ParseImplicitITF2

func ParseImplicitITF2(src []byte) (ImplicitITF2, int, error)

type ImplicitITF3

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

func ParseImplicitITF3

func ParseImplicitITF3(src []byte) (ImplicitITF3, int, error)

type PassArg

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

func ParsePassArg

func ParsePassArg(src []byte) (PassArg, int, error)

type RootTable

type RootTable struct {
	E  Element   `offsetSize:"Offset16"`
	Es []Element `arrayCount:"FirstUint16"`
}

func ParseRootTable

func ParseRootTable(src []byte) (RootTable, int, error)

type SubElement

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

func ParseSubElement

func ParseSubElement(src []byte, grandParentSrc []byte) (SubElement, int, error)

type VariableThenFixed

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

func ParseVariableThenFixed

func ParseVariableThenFixed(src []byte) (VariableThenFixed, int, error)

type WithAlias

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

Used to test that aliases are correctly retrieved

type WithArray

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

func ParseWithArray

func ParseWithArray(src []byte) (WithArray, int, error)

type WithChildArgument

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

func ParseWithChildArgument

func ParseWithChildArgument(src []byte, arrayCount int, kind uint16, version uint16) (WithChildArgument, int, error)

type WithImplicitITF

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

func ParseWithImplicitITF

func ParseWithImplicitITF(src []byte) (WithImplicitITF, int, error)

type WithOffset

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

Used to test Offset support

func ParseWithOffset

func ParseWithOffset(src []byte, offsetToSliceCount int) (WithOffset, int, error)

type WithOffsetArray

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

func ParseWithOffsetArray

func ParseWithOffsetArray(src []byte) (WithOffsetArray, int, error)

type WithOpaque

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

func ParseWithOpaque

func ParseWithOpaque(src []byte) (WithOpaque, int, error)

type WithRawdata

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

Used to test []byte support

func ParseWithRawdata

func ParseWithRawdata(src []byte, defautCount int, startToCount int) (WithRawdata, int, error)

type WithSlices

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

func ParseWithSlices

func ParseWithSlices(src []byte) (WithSlices, int, error)

type WithUnion

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

Used to test interface support

func ParseWithUnion

func ParseWithUnion(src []byte) (WithUnion, int, error)

Jump to

Keyboard shortcuts

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