The region's data structure laid out in memory.
Get a base64-encoded string of the region's data.
Get a byte-slice of the region's data.
Parse the object of the region's data as JSON.
Get a byte-slice of the entire writable region.
Get a string view of the region's data.
©2020 - 2024 Oraichain Foundation
Wrapper class for the Region data structure, which describes a region of WebAssembly's linear memory that has been allocated by the VM.
Note that this class is passed a pointer to the data structure, and the Region's members (offset: u32, capacity: u32, length: u32) are read from that pointer as they are laid out in the data structure.