wasp_vm v0.8.1 WaspVM.Memory View Source
Link to this section Summary
Functions
Gets N bytes from a given memory, starting at a given address
Grow memory by N pages
Creates a new memory instance, with a given number of 64kb pages
Writes bytes to memory at a given address
Link to this section Functions
Link to this function
get_at(memory, address, bytes \\ 1) View Source
Gets N bytes from a given memory, starting at a given address
Link to this function
grow(memory, pages)
View Source
grow(memory, pages)
View Source
grow(WaspVM.Memory, integer()) :: WaspVM.Memory
grow(WaspVM.Memory, integer()) :: WaspVM.Memory
Grow memory by N pages
Link to this function
new(memory_immediate)
View Source
new(memory_immediate)
View Source
new(map()) :: WaspVM.Memory
new(map()) :: WaspVM.Memory
Creates a new memory instance, with a given number of 64kb pages
Link to this function
put_at(memory, address, bytes) View Source
Writes bytes to memory at a given address