[−][src]Function bpack::unpack
pub fn unpack(packed: Vec<u8>) -> Vec<u8>
Decompresses byte vector
Examples
use bpack::{pack, unpack}; let data = "some very long string".as_bytes(); if let Some(packed) = pack(data) { let unpacked = unpack(packed); assert_eq!(data, unpacked.as_slice()); } if passed data is not a byte vector returned from `pack` function