pub(crate)moddecode;pub(crate)useself::decode::Encoding;pub(crate)typeInternalResult<T>=Result<T, InternalError>;/// A recoverable error.
#[derive(Debug, Clone)]pub(crate)enumInternalError{/// Found something unexpected, retry at the next byte.
Retry,/// Found the end of file.
Eof,}