dec
Library to allow decoding of more complex values
Functions
hex::dec::demangle
hex::dec::demangleDemangles a mangled name into a human readable name
mangled_name: The mangled namereturn: The demangled name
fn demangle(str mangled_name);hex::dec::zlib_decompress
hex::dec::zlib_decompressDecompresses the bytes of a pattern into a section using the zlib algorithm
pattern: The pattern whose bytes should be decompressedsection: The section to decompress the data intowindow_size: The window size passed to zlibreturn: A value representing either the number of bytes decompressed or an error code from zlib
fn zlib_decompress(auto pattern, std::mem::Section section, u64 window_size);hex::dec::bzip_decompress
hex::dec::bzip_decompressDecompresses the bytes of a pattern into a section using the bzip algorithm
pattern: The pattern whose bytes should be decompressedsection: The section to decompress the data intoreturn: true if successful, false otherwise
fn bzip_decompress(auto pattern, std::mem::Section section);hex::dec::lzma_decompress
hex::dec::lzma_decompressDecompresses the bytes of a pattern into a section using the LZMA algorithm
pattern: The pattern whose bytes should be decompressedsection: The section to decompress the data intoreturn: true if successful, false otherwise
fn lzma_decompress(auto pattern, std::mem::Section section);hex::dec::zstd_decompress
hex::dec::zstd_decompressDecompresses the bytes of a pattern into a section using the zstd algorithm
pattern: The pattern whose bytes should be decompressedsection: The section to decompress the data intoreturn: true if successful, false otherwise
fn zstd_decompress(auto pattern, std::mem::Section section);hex::dec::lz4_decompress
hex::dec::lz4_decompressDecompresses the bytes of a pattern into a section using the lz4 algorithm
pattern: The pattern whose bytes should be decompressedsection: The section to decompress the data intoframe: Whether the data is framed or notreturn: true if successful, false otherwise
fn lz4_decompress(auto pattern, std::mem::Section section, bool frame);Last updated
Was this helpful?