Type Alias AddressedChunkArray

Source
pub type AddressedChunkArray = Vec<AddressedChunk>;

Aliased Type§

pub struct AddressedChunkArray { /* private fields */ }

Trait Implementations§

Source§

impl AddressedChunkArrayTrait for AddressedChunkArray

Source§

fn get_addressed_chunk_array_size(&self) -> u128

Get the total size of the AddressedChunkArray.
Source§

fn get_data_chunk(&self, data_zone: u128, data_chunk: u128) -> CandyShared

Get the data chunk from the specified DataZone and DataChunk. Read more
Source§

fn flatten(self) -> Vec<u8>

Flatten the AddressedChunkArray into a byte vector.