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

Go to the source code of this file.

Namespaces

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

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::anonymous_namespace{hfs_fork_io.cpp}::read_one_extent (DiskReader &reader, uint64_t volume_offset, uint32_t block_size, const ForkExtent &e, uint64_t want_bytes, std::vector< unsigned char > &out)
size_t hfs::anonymous_namespace{hfs_fork_io.cpp}::collect_overflow_extents (const std::vector< unsigned char > &btree_buf, const HeaderRec &hdr, uint8_t forkType, uint32_t fileID, std::vector< ForkExtent > &out, std::vector< std::string > &logs)
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)