26 #ifndef TAGLIB_FILESTREAM_H 27 #define TAGLIB_FILESTREAM_H 38 class AudioProperties;
54 FileStream(
int fileDescriptor,
bool openReadOnly =
false);
83 void writeBlock(
const ByteVector &data)
override;
101 void removeBlock(
offset_t start = 0,
size_t length = 0)
override;
106 bool readOnly()
const override;
112 bool isOpen()
const override;
125 void clear()
override;
140 void truncate(
offset_t length)
override;
147 static unsigned int bufferSize();
150 class FileStreamPrivate;
152 std::unique_ptr<FileStreamPrivate> d;
I/O stream with data from a file.
Definition: tfilestream.h:42
An abstract class that provides operations on a sequence of bytes.
Definition: tiostream.h:64
Position
Definition: tiostream.h:70
A byte vector.
Definition: tbytevector.h:45
const char * FileName
Definition: tiostream.h:59
#define TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE
Definition: taglib_export.h:55
#define TAGLIB_EXPORT
Definition: taglib_export.h:40
off_t offset_t
Definition: taglib.h:64
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41