In C ++ there is a readRawData
function that helps to read the byte stream in a file. For example:
stream->readRawData(layerName, 64);
So I have 64 bytes to read the layer name. After these 64 bytes, I want to read the name:
stream_name->readRawData(m_name, 4);
And so on, without going backwards. Is there anything similar in Python?