Constructors
constructor
- new BytecodeIter(bytecode, config?): BytecodeIter
Parameters
- bytecode: string
Optional
config: {
bufferSize?: number;
}Optional
bufferSize?: number
Methods
asPos
- asPos(posOrRelativeStep): number
Parameters
- posOrRelativeStep: number
Returns number
at
- at(posOrRelativeStep): number
Parameters
- posOrRelativeStep: number
Returns number
hasMore
- hasMore(): boolean
Returns boolean
next
- next(): number
Returns number
pos
- pos(): number
Returns number
step
- step(): number
Returns number
value
- value(): Uint8Array
Returns Uint8Array
valueAt
- valueAt(posOrRelativeStep): Uint8Array
Parameters
- posOrRelativeStep: number
Returns Uint8Array
Properties
bytecode
bytecode: Uint8Array
posBuffer
posBuffer: number[]
posBufferSize
posBufferSize: number