arlmet.IndexRecord.from_position#
- classmethod IndexRecord.from_position(file, position)[source]#
Create an IndexRecord by reading from a file at a specific position.
- Parameters:
- Returns:
The parsed IndexRecord object.
- Return type:
- Raises:
EOFError – If
positionis at the end of the file.ARLFormatError – If the bytes at
positionare not a valid index record.