bindata

package
v0.0.0-...-3457ba0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(globals *model.Globals) (data []byte, err error)

func MakeTag

func MakeTag(globals *model.Globals, tf *model.TypeDefine, fieldIndex int) uint32

func MakeTagStructArray

func MakeTagStructArray() uint32

func Output

func Output(globals *model.Globals, param string) (err error)

Types

type BinaryWriter

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

func NewBinaryWriter

func NewBinaryWriter() *BinaryWriter

func (*BinaryWriter) Bytes

func (self *BinaryWriter) Bytes() []byte

func (*BinaryWriter) Write

func (self *BinaryWriter) Write(b []byte) (int, error)

func (*BinaryWriter) WriteBool

func (self *BinaryWriter) WriteBool(x bool) error

func (*BinaryWriter) WriteFloat32

func (self *BinaryWriter) WriteFloat32(x float32) error

func (*BinaryWriter) WriteFloat64

func (self *BinaryWriter) WriteFloat64(x float64) error

func (*BinaryWriter) WriteInt16

func (self *BinaryWriter) WriteInt16(x int16) error

func (*BinaryWriter) WriteInt32

func (self *BinaryWriter) WriteInt32(x int32) error

func (*BinaryWriter) WriteInt64

func (self *BinaryWriter) WriteInt64(x int64) error

func (*BinaryWriter) WriteString

func (self *BinaryWriter) WriteString(x string) error

func (*BinaryWriter) WriteUInt16

func (self *BinaryWriter) WriteUInt16(x uint16) error

func (*BinaryWriter) WriteUInt32

func (self *BinaryWriter) WriteUInt32(x uint32) error

func (*BinaryWriter) WriteUInt64

func (self *BinaryWriter) WriteUInt64(x uint64) error

Jump to

Keyboard shortcuts

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