pub fn compression_decoder( buffer: &mut Cursor<&[u8]>, compression_threshold: i32, ) -> Option<Box<[u8]>>
Функция декодировки с учётом порога сжатия