28 #ifndef _ID3LIB_READERS_H_
29 #define _ID3LIB_READERS_H_
31 #include "id3/id3lib_streams.h"
51 return this->
readChars(reinterpret_cast<uchar *>(buf), len);
55 _stream.read((
char *)buf, len);
56 return _stream.gcount();
64 _stream.seekg(0, ios::end);
103 this->setBuffer(
NULL, 0);
107 this->setBuffer(buf, size);
111 this->setBuffer(reinterpret_cast<const char_type*>(buf), size);
130 return this->
readChars(reinterpret_cast<char_type *>(buf), len);
132 virtual size_type
readChars(char_type buf[], size_type len);
154 size_type size = (pos < end) ? pos : end;