LibArchiveFileData(3)

LibArchiveFileData(3) Library Functions Manual LibArchiveFileData(3)

NAME

LibArchiveFileData - The LibArchiveFileData class.

SYNOPSIS

#include <LibArchiveFileData.h>

Public Attributes


std::shared_ptr< std::iostream > f
size_t file_size
std::ios_base::openmode open_mode
std::filesystem::path path
std::string source_buffer
char * buffer
size_t buffer_size
size_t start_offset

Detailed Description

The LibArchiveFileData class.

Auxiliary class for LibArchive.

Member Data Documentation

char* LibArchiveFileData::buffer

Pointer to inner buffer.

Warning

Do not set or modify this object yourself.

size_t LibArchiveFileData::buffer_size

Size of buffer.

Warning

Do not set or modify this object yourself.

std::shared_ptr<std::iostream> LibArchiveFileData::f

Smart pointer to file or buffer stream.

Warning

Do not set or modify this object yourself.

size_t LibArchiveFileData::file_size

File or buffer size.

Warning

Do not set or modify this object yourself.

std::ios_base::openmode LibArchiveFileData::open_mode

File or buffer stream open mode. Should be set manually.

std::filesystem::path LibArchiveFileData::path

Path to file to be opened. If empty, source_buffer will be used instead. Set it in case of need.

std::string LibArchiveFileData::source_buffer

Buffer to be opened in stream. Set it in case of need.

size_t LibArchiveFileData::start_offset

Byte number buffer or file reading should be started from. Default value is 0.

Set it in case of need.

Author

Generated automatically by Doxygen for MLBookProc from the source code.

Version 2.1 MLBookProc