Struct everscale_types::boc::de::BocHeader
source · pub struct BocHeader<'a> { /* private fields */ }Expand description
Parsed BOC header.
Implementations§
source§impl<'a> BocHeader<'a>
impl<'a> BocHeader<'a>
sourcepub fn decode(data: &'a [u8], options: &Options) -> Result<Self, Error>
pub fn decode(data: &'a [u8], options: &Options) -> Result<Self, Error>
Decodes boc info from the specified bytes.
sourcepub fn finalize<C>(
&self,
finalizer: &mut dyn Finalizer<C>
) -> Result<ProcessedCells<C>, Error>where
C: CellFamily,
CellContainer<C>: AsRef<dyn Cell<C>>,
pub fn finalize<C>(
&self,
finalizer: &mut dyn Finalizer<C>
) -> Result<ProcessedCells<C>, Error>where
C: CellFamily,
CellContainer<C>: AsRef<dyn Cell<C>>,
Assembles cell tree from slices using the specified finalizer.