pub fn decode_bytes(bytes: &[u8]) -> Result<Vec<u8>, VpkError>
Expand description

Decompress a byte slice of vpk0 data into a Vec<u8>

This is a convenience function to decode data without having to import and set up a Decoder or a std::io::Cursor