Documentation
¶
Index ¶
- Variables
- type Buffer
- func (b *Buffer) Bytes() []byte
- func (b *Buffer) GetAngle16() (float32, error)
- func (b *Buffer) GetAngle8() (float32, error)
- func (b *Buffer) GetBytes(n int) ([]byte, error)
- func (b *Buffer) GetCoord16() (float32, error)
- func (b *Buffer) GetCoord32() (float32, error)
- func (b *Buffer) GetFloat32() (float32, error)
- func (b *Buffer) GetInt16() (int16, error)
- func (b *Buffer) GetInt32() (int32, error)
- func (b *Buffer) GetString() (string, error)
- func (b *Buffer) GetUint16() (uint16, error)
- func (b *Buffer) GetUint32() (uint32, error)
- func (b *Buffer) Len() int
- func (b *Buffer) Off() int
- func (b *Buffer) PeekBytes(n int) ([]byte, error)
- func (b *Buffer) PeekBytesAt(off, size int) ([]byte, error)
- func (b *Buffer) PeekInt32() (int32, error)
- func (b *Buffer) PutAngle16(v float32)
- func (b *Buffer) PutAngle32(v float32)
- func (b *Buffer) PutAngle8(v float32)
- func (b *Buffer) PutByte(v byte)
- func (b *Buffer) PutBytes(v []byte)
- func (b *Buffer) PutCoord16(v float32)
- func (b *Buffer) PutCoord32(v float32)
- func (b *Buffer) PutFloat32(v float32)
- func (b *Buffer) PutInt16(v int16)
- func (b *Buffer) PutInt32(v int32)
- func (b *Buffer) PutString(v string)
- func (b *Buffer) PutUint16(v uint16)
- func (b *Buffer) PutUint32(v uint32)
- func (b *Buffer) ReadByte() (byte, error)
- func (b *Buffer) Seek(n int) error
- func (b *Buffer) Skip(n int) error
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadRead = errors.New("bad read")
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
func (*Buffer) GetAngle16 ¶
func (*Buffer) GetCoord16 ¶
func (*Buffer) GetCoord32 ¶
func (*Buffer) GetFloat32 ¶
func (*Buffer) PutAngle16 ¶
func (*Buffer) PutAngle32 ¶
func (*Buffer) PutCoord16 ¶
func (*Buffer) PutCoord32 ¶
func (*Buffer) PutFloat32 ¶
Click to show internal directories.
Click to hide internal directories.