Struct parity_wasm::interpreter::MemoryInstance [] [src]

pub struct MemoryInstance<E: UserError> { /* fields omitted */ }

Linear memory instance.

Methods

impl<E> MemoryInstance<E> where
    E: UserError
[src]

[src]

Create new linear memory instance.

[src]

Return linear memory limits.

[src]

Return linear memory size (in pages).

[src]

Get data at given offset.

[src]

Set data at given offset.

[src]

Increases the size of the linear memory by given number of pages. Returns -1 if allocation fails or previous memory size, if succeeds.

[src]

Copy memory region

[src]

Zero memory region