Skip to main content

extract_round_raw

Function extract_round_raw 

Source
pub fn extract_round_raw(bincode_data: &[u8]) -> Result<u64, RexProcessorError>
Expand description

Extracts the round from the bincode data

§Arguments

  • bincode_data - A byte slice containing the bincode data

§Returns

The extracted round value

§Errors

Returns an error if the data is invalid or if the conversion fails