Documentation ¶
Index ¶
- type Reader
- func (r *Reader) BitsLeft() int
- func (r *Reader) BytesLeft() []byte
- func (r *Reader) Offset() int
- func (r *Reader) Peek(n int) uint64
- func (r *Reader) Read(n int) uint32
- func (r *Reader) ReadBit() uint8
- func (r *Reader) ReadBool() bool
- func (r *Reader) ReadInt(n int) int
- func (r *Reader) ReadInt16(n int) int16
- func (r *Reader) ReadInt32(n int) int32
- func (r *Reader) ReadInt64(n int) int64
- func (r *Reader) ReadInt8(n int) int8
- func (r *Reader) ReadSe() (res int32)
- func (r *Reader) ReadSe16() int16
- func (r *Reader) ReadSe8() int8
- func (r *Reader) ReadUe() (res uint32)
- func (r *Reader) ReadUe16() uint16
- func (r *Reader) ReadUe8() uint8
- func (r *Reader) ReadUint(n int) uint
- func (r *Reader) ReadUint16(n int) uint16
- func (r *Reader) ReadUint32(n int) uint32
- func (r *Reader) ReadUint64(n int) uint64
- func (r *Reader) ReadUint8(n int) uint8
- func (r *Reader) Skip(n int)
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
}
Reader .
func (*Reader) ReadUint16 ¶
ReadUint16 read the uint16 of n bits.
func (*Reader) ReadUint32 ¶
ReadUint32 read the uint32 of n bits.
func (*Reader) ReadUint64 ¶
ReadUint64 read the uint64 of n bits.
Click to show internal directories.
Click to hide internal directories.