Skip to main content

parse_cells

Function parse_cells 

Source
pub fn parse_cells(value: &mut &[u32], cells: Cells) -> Option<u128>
Expand description

Parses the 4-byte cells of a property value.

Returns something only if value is long enough and the cell count is no bigger than 16 bytes. The 16-byte limit is not part of the spec. Defaults to 0 if zero cells are to be parsed.