Crate oc_wasm_helpers

Source
Expand description

This crate provides a collection of helpers and utilities used by other OC-Wasm high-level APIs. It is not a useful crate for application developers, unless you are developing an API for a new mod that doesn’t have one yet.

§Features

  • The alloc feature enables APIs that require dynamic memory allocation.

§Important

You must depend on oc-wasm-futures with the proper-waker feature in your own application if your chosen executor requires the proper-waker feature.

Modules§

error
fluid
inventory
map_decoder
Helpers to decode structures encoded as CBOR maps with string keys.
sides
APIs related to sides of blocks.

Traits§

Lockable
A component that can be given an Invoker and a byte buffer in order to access its methods.

Functions§

decode_one_based_map_as_vector
Decodes a CBOR map with one-based integer keys into a vector.