Expand description
Implementations for VM native black box functions.
Functionsยง
- black_
box_ ๐function_ from_ op - Maps a BlackBoxOp variant to its corresponding BlackBoxFunc. Used primarily for error reporting and resolution purposes.
- evaluate_
black_ ๐box - Evaluates a black box function inside the VM, performing the actual native computation.
- read_
heap_ ๐array - Reads a fixed-size array from memory.
- to_
be_ ๐radix - to_
u8_ ๐vec - Extracts the last byte of every value
- to_
value_ ๐vec - Converts a slice of u8 values into a Vec<
MemoryValue<F>>, wrapping each byte as a MemoryValue::U8. - write_
heap_ ๐array - Write values to a array in memory.