Hi,

I need help with reading binary files in Qt.
Following is something in dotnet and I need to implement similar stuff using Qt
----------------------------------------------------------------------------

{
position = 0;
byte[] buffer = new byte[sizeof(Int64)];
BinaryReader br = new BinaryReader(pStream);
br.Read(buffer, 0, recordSize);
position = BitConverter.ToInt64(buffer, 0);
return true;
}

------------------------------------------------------------------------------

I would really appreciate if you could please guide me to what is it that can be used in Qt to implement it ?

Regards,
Raj