Go to the documentation of this file.
28 #ifndef _ID3LIB_WRITER_H_
29 #define _ID3LIB_WRITER_H_
44 virtual void close() = 0;
47 virtual void flush() = 0;
58 virtual pos_type getCur() = 0;
77 this->writeChars(&ch, 1);
86 virtual size_type writeChars(
const char_type buf[], size_type len) = 0;
89 return this->writeChars(
reinterpret_cast<const char_type *
>(buf), len);
94 return this->getCur() >= this->getEnd();
virtual pos_type getBeg()
Return the beginning position in the writer.
virtual size_type getMaxSize()
Return the maximum number of bytes that can be written.
virtual size_type getSize()
Return the number of bytes written.
static const int_type END_OF_WRITER
virtual pos_type getEnd()
Return the first position that can't be written to.
virtual size_type writeChars(const char buf[], size_type len)
virtual int_type writeChar(char_type ch)
Write a single character and advance the internal position.
Generated for id3lib by
1.8.17