Expand description
Implementations for VM native black box functions.
Functionsยง
- black_
box_ ๐function_ from_ op - Maps a
BlackBoxOpvariant to its correspondingBlackBoxFunc. 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 aMemoryValue::U8. - write_
heap_ ๐array - Write values to a array in memory.