Crate pwasm_std [] [src]

Standard library for parity wasm programs

Reexports

pub extern crate parity_hash;

Modules

hash
logger

Logger extensions for pwasm-std

str

Unicode string slices.

Macros

format

Creates a String using interpolation of runtime expressions.

vec

Creates a Vec containing the arguments.

Structs

Box

A pointer type for heap allocation.

String

A UTF-8 encoded, growable string.

Vec

A contiguous growable array type, written Vec<T> but pronounced 'vector'.

WrappedArgs

Input data of a contract.

WrappedResult

Writeable handle of execution results.

Functions

keccak

Compute keccak hash.

panic_fmt

Overrides the default panic_fmt

parse_args

Parse decriptor into wrapped args and result.

read_u32

Read u32 using native endianness

read_u64

Read u64 using native endianness

write_ptr

Write ptr using native endianness

write_u32

Write u32 using native endianness

write_u64

Write u64 using native endianness