Module alure::instr::bytecode[][src]

Enums

DecodeError

Errors decoding bytecode

EncodeError

Errors encoding instructions

Traits

Bytecode

Non-failiable byte encoding for the instruction set. We can’t use io since (1) we are no_std, (2) it operates data with unlimited length (while we are bound by u16), (3) it provides too many fails in situations when we can’t fail because of u16-bounding and exclusive in-memory encoding handling.

Functions

compile

Encodes library as bytecode

disassemble

Decodes library from bytecode string