Documentation ¶
Index ¶
- type RandomAccessStack
- func (ras *RandomAccessStack) Count() int
- func (ras *RandomAccessStack) Insert(index int, t interface{})
- func (ras *RandomAccessStack) Peek(index int) interface{}
- func (ras *RandomAccessStack) Pop() interface{}
- func (ras *RandomAccessStack) Push(t interface{})
- func (ras *RandomAccessStack) Remove(index int) interface{}
- func (ras *RandomAccessStack) Set(index int, t interface{})
- func (ras *RandomAccessStack) Swap(i, j int)
- 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
- func (r *VmReader) ReadInt16() int16
- func (r *VmReader) ReadInt32() int32
- func (r *VmReader) ReadUInt32() uint32
- func (r *VmReader) ReadUInt64() uint64
- func (r *VmReader) ReadUint16() uint16
- func (r *VmReader) ReadVarBytes(max int) []byte
- func (r *VmReader) ReadVarInt(max uint64) uint64
- func (r *VmReader) ReadVarString() string
- 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 RandomAccessStack ¶
type RandomAccessStack struct {
Element []interface{}
}
func NewRandAccessStack ¶
func NewRandAccessStack() *RandomAccessStack
func (*RandomAccessStack) Count ¶
func (ras *RandomAccessStack) Count() int
func (*RandomAccessStack) Insert ¶
func (ras *RandomAccessStack) Insert(index int, t interface{})
func (*RandomAccessStack) Peek ¶
func (ras *RandomAccessStack) Peek(index int) interface{}
func (*RandomAccessStack) Pop ¶
func (ras *RandomAccessStack) Pop() interface{}
func (*RandomAccessStack) Push ¶
func (ras *RandomAccessStack) Push(t interface{})
func (*RandomAccessStack) Remove ¶
func (ras *RandomAccessStack) Remove(index int) interface{}
func (*RandomAccessStack) Set ¶
func (ras *RandomAccessStack) Set(index int, t interface{})
func (*RandomAccessStack) Swap ¶
func (ras *RandomAccessStack) Swap(i, j int)
type VmReader ¶
type VmReader struct { BaseStream []byte // contains filtered or unexported fields }
func NewVmReader ¶
func (*VmReader) ReadUInt32 ¶
func (*VmReader) ReadUInt64 ¶
func (*VmReader) ReadUint16 ¶
func (*VmReader) ReadVarBytes ¶
func (*VmReader) ReadVarInt ¶
func (*VmReader) ReadVarString ¶
Click to show internal directories.
Click to hide internal directories.