pub struct MiddlewareBinaryReader<'a> { /* private fields */ }
Expand description

A Middleware binary reader of the WebAssembly structures and types.

Implementations

Constructs a MiddlewareBinaryReader with an explicit starting offset.

Replaces the middleware chain with a new one.

Trait Implementations

Formats the value using the given formatter. Read more

Read a count indicating the number of times to call read_local_decl.

Read a (count, value_type) declaration of local variables of the same type.

Reads the next available Operator.

Returns the current position.

Returns the original position (with the offset)

Returns the number of bytes remaining.

Returns whether the readers has reached the end of the file.

Return the range (original offset, original offset + data length)

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

The archived version of the pointer metadata for this type.

Converts some archived metadata to the pointer metadata for itself.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Deserializes using the given deserializer

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type for metadata in pointers and references to Self.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.