Documentation ¶
Index ¶
- type Reader
- func (r *Reader) Read(b []byte) (int, error)
- func (r *Reader) ReadBitAngle(bits int) (float32, error)
- func (r *Reader) ReadBitCoord(intBits, fracBits int) (float32, error)
- func (r *Reader) ReadBitFloat32() (float32, error)
- func (r *Reader) ReadBitFloat64() (float64, error)
- func (r *Reader) ReadBitNormal(bits int) (float32, error)
- func (r *Reader) ReadBitVec3Coord(intBits, fracBits int) ([3]float32, error)
- func (r *Reader) ReadBitVec3Normal(bits int) ([3]float32, error)
- func (r *Reader) ReadBits(bits int) (uint64, error)
- func (r *Reader) ReadBool() (bool, error)
- func (r *Reader) ReadByte() (byte, error)
- func (r *Reader) ReadFloat32() (float32, error)
- func (r *Reader) ReadFloat64() (float64, error)
- func (r *Reader) ReadInt16() (int16, error)
- func (r *Reader) ReadInt32() (int32, error)
- func (r *Reader) ReadInt64() (int64, error)
- func (r *Reader) ReadInt8() (int8, error)
- func (r *Reader) ReadSigned(bits int) (int64, error)
- func (r *Reader) ReadSignedVarInt32() (int32, error)
- func (r *Reader) ReadSignedVarInt64() (int64, error)
- func (r *Reader) ReadSlice(b []byte, bits int) error
- func (r *Reader) ReadString() (string, error)
- func (r *Reader) ReadUBitVar() (uint32, error)
- func (r *Reader) ReadUint16() (uint16, error)
- func (r *Reader) ReadUint32() (uint32, error)
- func (r *Reader) ReadUint64() (uint64, error)
- func (r *Reader) ReadUint8() (uint8, error)
- func (r *Reader) ReadVarInt32() (uint32, error)
- func (r *Reader) ReadVarInt64() (uint64, error)
- func (r *Reader) ReadWString() ([]uint16, error)
- type Writer
- func (w *Writer) Write(b []byte) (int, error)
- func (w *Writer) WriteBitAngle(angle float32, bits int) error
- func (w *Writer) WriteBitCoord(coord float32, intBits, fracBits int) error
- func (w *Writer) WriteBitFloat32(f float32) error
- func (w *Writer) WriteBitFloat64(f float64) error
- func (w *Writer) WriteBitNormal(normal float32, bits int) error
- func (w *Writer) WriteBitVec3Coord(coord [3]float32, intBits, fracBits int) error
- func (w *Writer) WriteBitVec3Normal(normal [3]float32, bits int) error
- func (w *Writer) WriteBits(x uint64, bits int) error
- func (w *Writer) WriteBool(b bool) error
- func (w *Writer) WriteFloat32(f float32) error
- func (w *Writer) WriteFloat64(f float64) error
- func (w *Writer) WriteInt16(n int16) error
- func (w *Writer) WriteInt32(n int32) error
- func (w *Writer) WriteInt64(n int64) error
- func (w *Writer) WriteInt8(n int8) error
- func (w *Writer) WriteSigned(n int64, bits int) error
- func (w *Writer) WriteSlice(b []byte, bits int) error
- func (w *Writer) WriteString(s string) error
- func (w *Writer) WriteUBitVar(n uint32) error
- func (w *Writer) WriteUint16(n uint16) error
- func (w *Writer) WriteUint32(n uint32) error
- func (w *Writer) WriteUint64(n uint64) error
- func (w *Writer) WriteUint8(n uint8) error
- func (w *Writer) WriteVarInt32(n uint32) error
- func (w *Writer) WriteVarInt64(n uint64) error
- func (w *Writer) WriteWString(s []uint16) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) ReadBitFloat32 ¶
func (*Reader) ReadBitFloat64 ¶
func (*Reader) ReadBitVec3Coord ¶
func (*Reader) ReadFloat32 ¶
func (*Reader) ReadFloat64 ¶
func (*Reader) ReadSignedVarInt32 ¶
func (*Reader) ReadSignedVarInt64 ¶
func (*Reader) ReadString ¶
func (*Reader) ReadUBitVar ¶
func (*Reader) ReadUint16 ¶
func (*Reader) ReadUint32 ¶
func (*Reader) ReadUint64 ¶
func (*Reader) ReadVarInt32 ¶
func (*Reader) ReadVarInt64 ¶
func (*Reader) ReadWString ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func (*Writer) WriteBitCoord ¶
func (*Writer) WriteBitFloat32 ¶
func (*Writer) WriteBitFloat64 ¶
func (*Writer) WriteBitVec3Coord ¶
func (*Writer) WriteBitVec3Normal ¶
func (*Writer) WriteFloat32 ¶
func (*Writer) WriteFloat64 ¶
func (*Writer) WriteInt16 ¶
func (*Writer) WriteInt32 ¶
func (*Writer) WriteInt64 ¶
func (*Writer) WriteString ¶
func (*Writer) WriteUBitVar ¶
func (*Writer) WriteUint16 ¶
func (*Writer) WriteUint32 ¶
func (*Writer) WriteUint64 ¶
func (*Writer) WriteUint8 ¶
func (*Writer) WriteVarInt32 ¶
func (*Writer) WriteVarInt64 ¶
func (*Writer) WriteWString ¶
Click to show internal directories.
Click to hide internal directories.