Skip to content
API Documentation
BastionGuard™
hfs_fork_io.hpp File Reference

Go to the source code of this file.

Classes

struct  hfs::ExtentsOverflowKey

Namespaces

namespace  hfs

Functions

bool hfs::read_fork_inline (DiskReader &reader, uint64_t volume_offset, uint32_t block_size, const ForkData &fork, uint64_t max_bytes, std::vector< unsigned char > &out, std::vector< std::string > &logs)
bool hfs::read_fork_block_inline (DiskReader &reader, uint64_t volume_offset, uint32_t block_size, const ForkData &fork, uint64_t fork_logical_offset, unsigned char *block_buf)
bool hfs::read_fork_full (DiskReader &reader, uint64_t volume_offset, uint32_t block_size, const ForkData &fork, const ForkData &extents_file, uint8_t forkType, uint32_t fileID, uint64_t max_bytes, std::vector< unsigned char > &extents_btree_buffer, std::vector< unsigned char > &out, std::vector< std::string > &logs)

Variables

constexpr uint8_t hfs::kForkTypeData = 0x00
constexpr uint8_t hfs::kForkTypeResource = 0xFF