Function rust_unixfs::dagpb::node_data

source ·
pub fn node_data(block: &[u8]) -> Result<Option<&[u8]>, Error>
Expand description

Extracts the PBNode::Data field from the block as it appears on the block.