pub struct BocRepr<C> { /* private fields */ }
Expand description

BOC representation helper.

Implementations§

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

Encodes the specified cell tree as BOC using default finalizer.

Decodes a base64 encoded BOC into an object using the default Cell family finalizer.

Decodes an object using the default Cell family finalizer.

Encodes the specified object as BOC.

Decodes object from BOC using the specified finalizer.

Serializes type using default finalizer into an encoded BOC (as base64 for human readable serializers).

Deserializes type using default finalizer from an encoded BOC (from base64 for human readable serializers).

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.