1 2 3 4 5 6 7
#[cfg(feature = "std")] #[inline] pub(crate) fn invalid_data<E: std::error::Error + Send + Sync + 'static>(e: E) -> std::io::Error { std::io::Error::new(std::io::ErrorKind::InvalidData, e) } pub use dbutils::leb128::*;