compressed_size_bytes

Function compressed_size_bytes 

Source
pub fn compressed_size_bytes(content: RcStr) -> Result<u32>
Expand description

Compresses an asset’s content with default-level (level 6) deflate/gzip. Returns the size in bytes in the compressed output