Function bitterlemon::decode [] [src]

pub fn decode<S>(input: S) -> Decoder<S> where
    S: Iterator<Item = u8>, 

Decodes a Bitterlemon byte stream into an iterator of bools. source can be any iterator that yields u8 values.

Errors

Unlike encoding, decoding has a chance of failure. The exposed iterator will return a Result object to handle the possibility of an invalid input stream. The Ok value in this case is of type bool.