pub struct Encoder { /* private fields */ }
Expand description

ABOR Encoder

Implementations

Add an unsigned byte

Add a 16-bit unsigned value in little endian format

Add a 32-bit unsigned value in little endian format

Add a 64-bit unsigned value in little endian format

Add a 128-bit unsigned value in little endian format

cannot serialize more than 256 bytes of contiguous data

Array cannot contain more than 256 elements

Terminate an array

Finalize the encoder into an immutable array of data

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

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 returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.