Skip to main content

decode_block

Function decode_block 

Source
pub fn decode_block(block: &[u8]) -> Result<Vec<u8>>
Expand description

Decode a BLTE block based on its mode byte (no encryption support).

block includes the mode byte as the first byte. Encrypted blocks (mode E) will always return an error.