Documentation ¶
Index ¶
- type VmReader
- func (r *VmReader) Length() int
- func (r *VmReader) Position() int
- func (r *VmReader) ReadByte() (byte, error)
- func (r *VmReader) ReadBytes(count int) ([]byte, error)
- func (r *VmReader) ReadBytesInto(b []byte) error
- func (r *VmReader) ReadInt16() (int16, error)
- func (r *VmReader) ReadInt32() (int32, error)
- func (r *VmReader) ReadUint16() (uint16, error)
- func (r *VmReader) ReadUint32() (uint32, error)
- func (r *VmReader) ReadUint64() (uint64, error)
- func (r *VmReader) ReadVarBytes(max uint32) ([]byte, error)
- func (r *VmReader) ReadVarInt(max uint64) (uint64, error)
- func (r *VmReader) ReadVarString(maxlen uint32) (string, error)
- func (r *VmReader) Seek(offset int64, whence int) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VmReader ¶
type VmReader struct { BaseStream []byte AllowEOF bool // allow VmReader.ReadBytes got EOF and return 0 bytes // contains filtered or unexported fields }
func NewVmReader ¶
func (*VmReader) ReadBytesInto ¶ added in v1.5.1
func (*VmReader) ReadUint16 ¶
func (*VmReader) ReadUint32 ¶ added in v1.5.1
func (*VmReader) ReadUint64 ¶ added in v1.5.1
Click to show internal directories.
Click to hide internal directories.