pub type EncodeResult<T> = Result<T, EncodeError>;