pub fn calculate_value_tree_body_byte_length<E, 'de, 's>(
    partial_payload: &'de [u8],
    value_kind: ValueKind<<E as CustomExtension>::CustomValueKind>,
    current_depth: usize,
    depth_limit: usize
) -> Result<usize, DecodeError>
where E: CustomExtension,
Expand description

Returns the length of the value at the start of the partial payload.