MWBPX2WV5JE5ABT3OZFA225IXEU2KVQWSADEXLSL46NLK7SGPFSAC
fn compress_frame<D: Dst>(src: &[u8], level: usize) -> Result<CompressedFrame<D>, Error> {
let mut dst = D::new();
fn compress_frame<D: Dst>(
src: &[u8],
level: usize,
size: Option<usize>,
) -> Result<CompressedFrame<D>, Error> {
let mut dst = if let Some(cap) = size {
D::new_zeroed(cap)
} else {
D::new()
};