pub fn decode<S>(input: S) -> Decoder<S>
where S : Iterator<Item=u8> {
	Decoder::<S> {
		source: input,
		state: DecodeState::Pending,
	}
}
/// Decodes a Bitterlemon byte stream into an iterator of `bool`s.
/// `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`.
///
/// [`Result`]: type.Result.html
Decodes a Bitterlemon byte stream into an iterator of `bool`s.
`source` can be any iterator that yields `u8` values.
Decodes a Bitterlemon byte stream into an iterator of ` bool ` s . ` source ` can be any iterator that yields ` u8 ` values .
pub fn decode<S>(input: S) -> Decoder<S>
where S : Iterator<Item=u8> {
	Decoder::<S> {
		source: input,
		state: DecodeState::Pending,
	}
}
pub fn decode < S > ( input : S ) -> Decoder < S > where S : Iterator < Item = u8 > { Decoder :: < S > { source : input , state : DecodeState :: Pending , } }
Decodes a Bitterlemon byte stream into an iterator of `bool`s.
Decodes a Bitterlemon byte stream into an iterator of ` bool ` s .
input
S
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`.

[`Result`]: type.Result.html
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 ` . [ ` Result ` ] : type . Result . html