Skip to content
API Documentation
BastionGuard™
hfs_decmpfs.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  hfs
namespace  hfs::anonymous_namespace{hfs_decmpfs.cpp}

Functions

uint32_t hfs::anonymous_namespace{hfs_decmpfs.cpp}::le32 (const unsigned char *p)
uint32_t hfs::anonymous_namespace{hfs_decmpfs.cpp}::be32 (const unsigned char *p)
bool hfs::anonymous_namespace{hfs_decmpfs.cpp}::inflate_chunk (const unsigned char *in_buf, size_t in_size, unsigned char *out_buf, size_t out_size, size_t &out_produced, std::string &error)
bool hfs::parse_decmpfs_header (const unsigned char *buf, DecmpfsHeader &out)
const char * hfs::decmpfs_type_name (uint32_t type)
bool hfs::decmpfs_supported (uint32_t type)
bool hfs::decompress_xattr_zlib (const unsigned char *xattr_buf, size_t xattr_len, uint64_t expected_uncompressed_size, std::vector< unsigned char > &out, std::string &error)
bool hfs::decompress_resource_fork_zlib (const unsigned char *rsrc_buf, size_t rsrc_len, uint64_t expected_uncompressed_size, std::vector< unsigned char > &out, std::string &error)