finesse.utilities.maps.BinaryReader

Overview

class finesse.utilities.maps.BinaryReader(fileName)[source]

Bases: object

MetroPro binary data format reader.

Methods

BinaryReader.__init__(fileName)

BinaryReader.read(typeName[, size])

Read a datatype from the binary file.

BinaryReader.seek(offset[, refPos])

offset in bytes and refPos gives reference position, where 0 means origin of the file, 1 uses current position and 2 uses the end of the file.