26#ifndef TAGLIB_FILESTREAM_H
27#define TAGLIB_FILESTREAM_H
38 class AudioProperties;
54 FileStream(
int fileDescriptor,
bool openReadOnly =
false);
150 class FileStreamPrivate;
152 std::unique_ptr<FileStreamPrivate> d;
A byte vector.
Definition: tbytevector.h:46
I/O stream with data from a file.
Definition: tfilestream.h:43
FileStream(const FileStream &)=delete
FileStream(FileName fileName, bool openReadOnly=false)
void insert(const ByteVector &data, offset_t start=0, size_t replace=0) override
FileStream(int fileDescriptor, bool openReadOnly=false)
ByteVector readBlock(size_t length) override
bool readOnly() const override
offset_t length() override
bool isOpen() const override
void seek(offset_t offset, Position p=Beginning) override
void removeBlock(offset_t start=0, size_t length=0) override
void writeBlock(const ByteVector &data) override
FileName name() const override
static unsigned int bufferSize()
void truncate(offset_t length) override
offset_t tell() const override
FileStream & operator=(const FileStream &)=delete
An abstract class that provides operations on a sequence of bytes.
Definition: tiostream.h:65
Position
Definition: tiostream.h:70
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41
off_t offset_t
Definition: taglib.h:64
const char * FileName
Definition: tiostream.h:59
#define TAGLIB_EXPORT
Definition: taglib_export.h:40
#define TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE
Definition: taglib_export.h:55