26#ifndef TAGLIB_FILESTREAM_H
27#define TAGLIB_FILESTREAM_H
38 class AudioProperties;
60 FileStream(
int fileDescriptor,
bool openReadOnly =
false);
95 void insert(
const ByteVector &data,
unsigned long start = 0,
unsigned long replace = 0);
104 void removeBlock(
unsigned long start = 0,
unsigned long length = 0);
153 class FileStreamPrivate;
154 FileStreamPrivate *d;
A byte vector.
Definition: tbytevector.h:46
A file class with some useful methods for tag manipulation.
Definition: tfilestream.h:49
void seek(long offset, Position p=Beginning)
void removeBlock(unsigned long start=0, unsigned long length=0)
FileStream(int fileDescriptor, bool openReadOnly=false)
void insert(const ByteVector &data, unsigned long start=0, unsigned long replace=0)
void truncate(long length)
static unsigned int bufferSize()
void writeBlock(const ByteVector &data)
ByteVector readBlock(unsigned long length)
FileStream(FileName file, bool openReadOnly=false)
An abstract class that provides operations on a sequence of bytes.
Definition: tiostream.h:63
Position
Definition: tiostream.h:68
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41
const char * FileName
Definition: tiostream.h:57
#define TAGLIB_EXPORT
Definition: taglib_export.h:40