Function quad_wasmnastics::storage::flate::zip [−][src]
pub fn zip<T: AsRef<[u8]>>(data: T) -> Result<Vec<u8>>
Expand description
Gzip some binary data.
This uses Best-level compression (because there’s only so much space in Localstorage.)