Returns the compression algorithm ID (0-7).
(&self)
| 141 | |
| 142 | /// Returns the compression algorithm ID (0-7). |
| 143 | pub fn compression_method(&self) -> u8 { |
| 144 | (self.0 & Self::COMPRESSION_MASK) >> 1 |
| 145 | } |
| 146 | |
| 147 | /// Returns the raw byte representation. |
| 148 | pub fn as_u8(&self) -> u8 { |
no outgoing calls