Documentation
¶
Index ¶
- Constants
- func Float32FromBytes(bytes []byte) float32
- func Float32ToBytes(float float32) []byte
- func Int32FromBytes(bytes []byte) int32
- func ReadFloat32(r io.Reader) (float32, error)
- func ReadHeaderFromBytes(bytes []byte) uint32
- func ReadInt32(r io.Reader) (i int32, err error)
- func WriteFloat32(w io.Writer, float float32) error
- func WriteHeader(w io.Writer, header uint32) error
- func WriteInt32(w io.Writer, i int32) error
- func WriteUint32(w io.Writer, i uint32) error
- type Decoder
- type Encoder
- type Float
- type Integer
- type VariantMarshaler
- type VariantUnmarshaler
- type Vector3
Constants ¶
View Source
const ( NullType uint32 = iota BoolType = 1 IntegerType = 2 FloatType = 3 StringType = 4 Vector2Type = 5 Rect2Type = 6 Vector3Type = 7 Matrix32Type = 8 PlaneType = 9 QuaternionType = 10 AabbType = 11 //(rect3) Matrix3x3Type = 12 TransformType = 13 // (matrix 4x3) ColorType = 14 ImageType = 15 NodePathType = 16 // path RidType = 17 // (unsupported) ObjectType = 18 // (unsupported) InputEventType = 19 DictionaryType = 20 ArrayType = 21 ByteArrayType = 22 IntegerArrayType = 23 FloatArrayType = 24 StringArrayType = 25 Vector2ArrayType = 26 Vector3ArrayType = 27 ColorArrayType = 28 )
Variables ¶
This section is empty.
Functions ¶
func Float32FromBytes ¶
func Float32ToBytes ¶
func Int32FromBytes ¶
func ReadHeaderFromBytes ¶
Types ¶
type Integer ¶
type Integer int32
func (Integer) MarshalVariant ¶
func (*Integer) UnmarshalVariant ¶
type VariantMarshaler ¶
type VariantUnmarshaler ¶
Click to show internal directories.
Click to hide internal directories.