Documentation ¶
Index ¶
- type TypeReader
- func (t *TypeReader) ReadBoolean() (bool, error)
- func (t *TypeReader) ReadByte() (byte, error)
- func (t *TypeReader) ReadBytes(count int) ([]byte, error)
- func (t *TypeReader) ReadCharSequence(byteCount int) (string, error)
- func (t *TypeReader) ReadDoubleBE() (float64, error)
- func (t *TypeReader) ReadDoubleLE() (float64, error)
- func (t *TypeReader) ReadFloatBE() (float32, error)
- func (t *TypeReader) ReadFloatLE() (float32, error)
- func (t *TypeReader) ReadIntBE() (int32, error)
- func (t *TypeReader) ReadIntLE() (int32, error)
- func (t *TypeReader) ReadLongBE() (int64, error)
- func (t *TypeReader) ReadLongLE() (int64, error)
- func (t *TypeReader) ReadShortBE() (int16, error)
- func (t *TypeReader) ReadShortLE() (int16, error)
- func (t *TypeReader) ReadUnsignedIntBE() (uint32, error)
- func (t *TypeReader) ReadUnsignedIntLE() (uint32, error)
- func (t *TypeReader) ReadUnsignedLongBE() (uint64, error)
- func (t *TypeReader) ReadUnsignedLongE() (uint64, error)
- func (t *TypeReader) ReadUnsignedShortBE() (uint16, error)
- func (t *TypeReader) ReadUnsignedShortLE() (uint16, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TypeReader ¶
type TypeReader struct {
// contains filtered or unexported fields
}
func NewReader ¶
func NewReader(ir io.Reader) TypeReader
func (*TypeReader) ReadBoolean ¶
func (t *TypeReader) ReadBoolean() (bool, error)
func (*TypeReader) ReadByte ¶
func (t *TypeReader) ReadByte() (byte, error)
func (*TypeReader) ReadCharSequence ¶
func (t *TypeReader) ReadCharSequence(byteCount int) (string, error)
func (*TypeReader) ReadDoubleBE ¶
func (t *TypeReader) ReadDoubleBE() (float64, error)
func (*TypeReader) ReadDoubleLE ¶
func (t *TypeReader) ReadDoubleLE() (float64, error)
func (*TypeReader) ReadFloatBE ¶
func (t *TypeReader) ReadFloatBE() (float32, error)
func (*TypeReader) ReadFloatLE ¶
func (t *TypeReader) ReadFloatLE() (float32, error)
func (*TypeReader) ReadIntBE ¶
func (t *TypeReader) ReadIntBE() (int32, error)
func (*TypeReader) ReadIntLE ¶
func (t *TypeReader) ReadIntLE() (int32, error)
func (*TypeReader) ReadLongBE ¶
func (t *TypeReader) ReadLongBE() (int64, error)
func (*TypeReader) ReadLongLE ¶
func (t *TypeReader) ReadLongLE() (int64, error)
func (*TypeReader) ReadShortBE ¶
func (t *TypeReader) ReadShortBE() (int16, error)
func (*TypeReader) ReadShortLE ¶
func (t *TypeReader) ReadShortLE() (int16, error)
func (*TypeReader) ReadUnsignedIntBE ¶
func (t *TypeReader) ReadUnsignedIntBE() (uint32, error)
func (*TypeReader) ReadUnsignedIntLE ¶
func (t *TypeReader) ReadUnsignedIntLE() (uint32, error)
func (*TypeReader) ReadUnsignedLongBE ¶
func (t *TypeReader) ReadUnsignedLongBE() (uint64, error)
func (*TypeReader) ReadUnsignedLongE ¶
func (t *TypeReader) ReadUnsignedLongE() (uint64, error)
func (*TypeReader) ReadUnsignedShortBE ¶
func (t *TypeReader) ReadUnsignedShortBE() (uint16, error)
func (*TypeReader) ReadUnsignedShortLE ¶
func (t *TypeReader) ReadUnsignedShortLE() (uint16, error)
Click to show internal directories.
Click to hide internal directories.