//! Functions for loading and executing a new WASM binary.
use ;
use execute as sys;
/// Clears the execution buffer.
///
/// At the start of a program’s execution, the execution buffer is empty, so loading can commence
/// without invoking this syscall first. However, if the program starts loading a binary then needs
/// to abort and load a different binary, this syscall can be used to discard the first binary.
/// Writes data to the execution buffer.
///
/// The `data` parameter is the portion of the Wasm binary to write into the buffer.
///
/// # Errors
/// * [`Other`](Error::Other) is returned if this call would make the contents of the buffer larger
/// than the computer’s installed RAM.
/// Executes the Wasm binary contained in the execution buffer.
!