Struct everscale_types::boc::Boc

source ·
pub struct Boc<C> { /* private fields */ }
Expand description

BOC (Bag Of Cells) helper.

Implementations§

Encodes the specified cell tree as BOC and returns the base64 encoded bytes as a string.

Encodes the specified cell tree as BOC.

Encodes a pair of cell trees as BOC.

Decodes a base64 encoded BOC into a cell tree using the default Cell family finalizer.

Decodes a cell tree using the default Cell family finalizer.

Decodes a pair of cell trees using the default Cell family finalizer.

Decodes a cell tree using the specified finalizer.

Decodes a pair of cell trees using the specified finalizer.

Serializes cell into an encoded BOC (as base64 for human readable serializers).

Deserializes cell from an encoded BOC (from base64 for human readable deserializers).

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.

Should always be 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.