26 :ID3_Reader(), m_source(source)
49 return static_cast<ID3_Reader::pos_type
>(
m_source.size());
55 return static_cast<ID3_Reader::pos_type
>(
m_source.pos());
61 if (!
m_source.seek(static_cast<qint64>(pos)))
62 return static_cast<ID3_Reader::pos_type>(-1);
63 return static_cast<ID3_Reader::pos_type
>(
m_source.pos());
70 m_source.getChar(reinterpret_cast<char *>(&c));
71 return static_cast<ID3_Reader::int_type
>(c);
78 ID3_Reader::int_type ch =
readChar();
85 char_type buf[], size_type len)
88 reinterpret_cast<char *>(&(buf[0])),
89 static_cast<qint64>(len)
91 return static_cast<ID3_Reader::size_type
>(size);
96 char buf[], size_type len)
98 return this->
readChars(reinterpret_cast<char_type *>(buf), len);
virtual ID3_Reader::pos_type setCur(ID3_Reader::pos_type pos=0)
virtual ID3_Reader::pos_type getBeg()
ID3_QIODeviceReader(QIODevice &source)
virtual ID3_Reader::int_type readChar()
virtual ~ID3_QIODeviceReader()
virtual size_type readChars(char_type buf[], size_type len)
virtual ID3_Reader::int_type peekChar()
virtual ID3_Reader::pos_type getCur()
virtual ID3_Reader::pos_type getEnd()