cfb_reader

Overview

cfb_reader is a class in Aspose.Email FOSS for C++.

Description

cfb_reader is a class in the Aspose.Email FOSS library for C++ that exposes 12 methods and 0 properties for programmatic use.

Methods

SignatureDescription
from_file(path: std::filesystem::path)cfb_reader
from_stream(stream: std::istream)cfb_readerCreates a cfb_reader from the provided input stream
from_bytes(data: std::vector<std::uint8_t>)cfb_reader
from_buffer(data: std::uint8_t, size: std::size_t)cfb_reader
data_size()std::size_tReturns the total size in bytes of the CFB data
directory_entry_count()std::size_tReturns the number of directory entries in the CFB
materialized_stream_count()std::size_tReturns how many streams have been materialized
storage_ids()std::vector<std::uint32_t>Returns a vector of IDs for all storage objects
stream_ids()std::vector<std::uint32_t>Returns a vector of IDs for all stream objects
child_ids(storage_stream_id: std::uint32_t)std::vector<std::uint32_t>Returns IDs of children under the specified storage/stream
find_child_by_name(storage_stream_id: std::uint32_t, name: std::string)std::optional<std::uint32_t>Returns the ID of a child with the given name, if present
resolve_path(names: std::vector<std::string>, start_stream_id: std::uint32_t)std::optional<std::uint32_t>Traverses names from a start ID and returns the final object ID

See Also