uint read(TagLib::File &file, uint limit) { uint count = std::min(m_size, limit); file.seek(count, TagLib::File::Current); return count; }