26 #ifndef TAGLIB_IOSTREAM_H 27 #define TAGLIB_IOSTREAM_H 48 operator const wchar_t *()
const;
50 const std::wstring &wstr()
const;
52 String toString()
const;
56 const std::wstring m_wname;
97 virtual ByteVector readBlock(
size_t length) = 0;
108 virtual void writeBlock(
const ByteVector &data) = 0;
118 offset_t start = 0,
size_t replace = 0) = 0;
127 virtual void removeBlock(
offset_t start = 0,
size_t length = 0) = 0;
132 virtual bool readOnly()
const = 0;
138 virtual bool isOpen()
const = 0;
146 virtual void seek(
offset_t offset, Position p = Beginning) = 0;
151 virtual void clear();
166 virtual void truncate(
offset_t length) = 0;
169 class IOStreamPrivate;
171 std::unique_ptr<IOStreamPrivate> d;
Seek from the current position in the file.
Definition: tiostream.h:74
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
Seek from the beginning of the file.
Definition: tiostream.h:72