From 1b6a04ca5504955c571d1c97504fb45ea0befee4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 8 Jan 2024 01:21:28 +0400 Subject: Initial vendor packages Signed-off-by: Valentin Popov --- vendor/zune-inflate/src/gzip_constants.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vendor/zune-inflate/src/gzip_constants.rs (limited to 'vendor/zune-inflate/src/gzip_constants.rs') diff --git a/vendor/zune-inflate/src/gzip_constants.rs b/vendor/zune-inflate/src/gzip_constants.rs new file mode 100644 index 0000000..6028d47 --- /dev/null +++ b/vendor/zune-inflate/src/gzip_constants.rs @@ -0,0 +1,13 @@ +#![cfg(feature = "gzip")] +pub const GZIP_ID1: u8 = 0x1F; +pub const GZIP_ID2: u8 = 0x8B; +pub const GZIP_CM_DEFLATE: u8 = 8; + +pub const GZIP_FRESERVED: u8 = 0xE0; +pub const GZIP_FEXTRA: u8 = 0x04; + +pub const GZIP_FOOTER_SIZE: usize = 8; + +pub const GZIP_FHCRC: u8 = 0x02; +pub const GZIP_FNAME: u8 = 0x08; +pub const GZIP_FCOMMENT: u8 = 0x10; -- cgit v1.2.3