(&self)
| 250 | |
| 251 | impl Compressor for NoCompression { |
| 252 | fn id(&self) -> u8 { |
| 253 | 0 |
| 254 | } |
| 255 | |
| 256 | fn compress<'a>(&self, data: &'a [u8]) -> Result<Cow<'a, [u8]>> { |
| 257 | // Zero-copy: return reference to input |
no outgoing calls
no test coverage detected