Mavryk_wasmer.Memorytype t = {raw : Unsigned.uint8 Array.t;C array backing the memory
*)min : Unsigned.uint32;Minimum memory size in pages (64 KiB)
*)max : Unsigned.uint32 option;Maximum size in pages
*)}WebAssembly memory
val get : t -> int -> Unsigned.uint8get mem addr reads a byte at address addr.
val get_string : t -> address:int -> length:int -> stringget_string mem addr len reads len bytes from address addr in mmemory mem.
val set : t -> int -> Unsigned.uint8 -> unitset mem addr value sets a byte at address addr to value.
val set_string : t -> address:int -> data:string -> unitset_string mem ~address ~data writes a series of bytes represented by data at address address in the provided memory mem.
val length : t -> intlength mem gives you the memory size in bytes.
module Internal_for_tests : sig ... end