pub(crate) const MAGIC_HEADER: &[u8; 14] = b"\x0c\x04\x01ed25519ph\x00\x00";
pub(crate) const HEADER_SIZE: usize = 16;
pub(crate) type SignatureCountLeInt = u16;
#[cfg(any(feature = "sign-tar", feature = "unsign-tar", feature = "verify-tar"))]
pub(crate) const GZIP_START: &[u8; 10] = {
const EPOCH: u32 = 978_307_200;
let [m1, m2, m3, m4] = EPOCH.to_le_bytes();
&[
0x1f, 0x8b, 0x08, 0x10, m1, m2, m3, m4, 0x00, 0xff, ]
};
#[cfg(any(feature = "sign-tar", feature = "unsign-tar", feature = "verify-tar"))]
pub(crate) const GZIP_END: &[u8; 14] = &[
0x00, 0x01, 0x00, 0x00, 0xff, 0xff, 0, 0, 0, 0, 0, 0, 0, 0, ];
#[cfg(feature = "sign-tar")]
pub(crate) const GZIP_EXTRA: usize = GZIP_START.len() + GZIP_END.len() + u64::BITS as usize / 4;
pub(crate) const BUF_LIMIT: usize = 1 << 16;