Memory is a vector of raw uninterpreted bytes.
See Also
Specification: https://webassembly.github.io/spec/core/syntax/modules.html#memories
Constructors
new(store : Store, type : MemoryType)
SourceInstance methods
bytesize
Returns memory size as a number of bytes
Sourcedata
Returns memory contents as Bytes
Sourcegrow(delta :
Pages) :
Bool Grows the Memory's size by a given number of Pages (the delta)
Sourcesize
Returns memory size as Pages
Sourcetype
Returns memory's MemoryType
SourceReturns the view of memory starting from provided offset
raises if offset is greater than memory byte size
Source