use crate::error::{LazippyError, LazippyResult};
pub fn decode_literal(_input: &[u8], _pos: &mut usize) -> LazippyResult<u8> {
Err(LazippyError::NotYetImplemented)
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn decode_literal_is_stub() {
let mut pos = 0usize;
let result = decode_literal(&[], &mut pos);
assert!(
matches!(result, Err(LazippyError::NotYetImplemented)),
"expected NotYetImplemented, got {result:?}"
);
}
}