cfb_reader

Overview

cfb_reader is a class in Aspose.Email for CPP. Inherits from: cfb_reader.

Methods

SignatureDescription
from_file(path: std::filesystem::path)cfb_readerReads a CFB container from the given filesystem path
from_stream(stream: std::istream)cfb_readerReads a CFB container from the supplied input stream
from_bytes(data: std::vector<std::uint8_t>)cfb_readerReads a CFB container from a vector of bytes
from_buffer(data: std::uint8_t, size: std::size_t)cfb_readerReads a CFB container from a raw byte buffer and its size
data_size()std::size_tReturns the total size in bytes of the underlying 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 in the CFB
stream_ids()std::vector<std::uint32_t>
child_ids(storage_stream_id: std::uint32_t)std::vector<std::uint32_t>Returns IDs of immediate children of the specified storage/stream
find_child_by_name(storage_stream_id: std::uint32_t, name: std::string)std::optional<std::uint32_t>Searches a storage/stream for a child with the given name
resolve_path(names: std::vector<std::string>, start_stream_id: std::uint32_t)std::optional<std::uint32_t>Resolves a sequence of names to a stream ID starting from a base ID