Skip to main content

blocks

Function blocks 

Source
pub fn blocks(text: &str) -> Result<Vec<Block>, LogError>
Expand description

Each block of a capture, decoded, in the file’s order (module docs, Blocks).

§Errors

LogError::NotThisFormat for a text that isn’t a capture; LogError::Syntax, naming the line, for a character outside base64’s alphabet, padding out of place or over bits that aren’t zero, a block whose base64 isn’t a multiple of 4 characters, a block that never ends, a marker inside a block, an end marker with no block open, or two blocks of one name.