Struct ketos::bytecode::CodeReader [] [src]

pub struct CodeReader<'a> { /* fields omitted */ }

Reads Instruction values from a stream of bytes.

Methods

impl<'a> CodeReader<'a>
[src]

Creates a new CodeReader wrapping a series of bytes. The first instruction will be read from offset.

Returns the offset, in bytes, at which the next instruction will be read.

Reads an Instruction value from the byte stream.