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();