pub fn get_content_chunks_store(
encoding: &AssetEncoding,
chunk_index: usize,
memory: &Memory,
) -> Option<Blob>
Expand description
Getter, list and delete
Get content chunks of an asset.
This function retrieves content chunks of an asset based on the specified parameters.
It returns an Option<Blob>
representing the content chunks, or None
if no chunks are found.
§Parameters
encoding
: A reference to theAssetEncoding
indicating the encoding of the asset.chunk_index
: The index of the content chunk to retrieve.memory
: A reference to theMemory
type (Heap or Stable).
§Returns
Some(Blob)
: Content chunks of the asset.None
: No content chunks found.
This function allows you to retrieve content chunks of an asset stored in a Juno collection’s store.