SciFiReaders.readers.microscopy.spm.afm.mdt.MDTBufferedReaderDecorator#
- class SciFiReaders.readers.microscopy.spm.afm.mdt.MDTBufferedReaderDecorator(file_)[source]#
Bases:
objectA decorator class that facilitate the sequential reading of a file.
The class will redirect al the standard file methods and add some methods to read and integer and float number encoded on 8, 16, 32 or 64 bits
Methods
extract_stringRead one character coded on 1 byte (a usual char)
Read a signed float coded on 4 byte (a float)
Read a signed float coded on 8 byte (au double float)
Read a signed integer coded on 2 byte (a short)
Read a unsigned integer coded on 4 byte (a usual int or long int)
Read a unsigned integer coded on 8 byte (a long long)
Read a signed integer coded on 1 byte (a char)
Read a unsigned integer coded on 1 byte (a char) idem that read_uint8()
Read a unsigned integer coded on 2 byte (a short)
Read a unsigned integer coded on 4 byte (a usual int or long int)
Read a unsigned integer coded on 8 byte (a long long)
Read a unsigned integer coded on 1 byte (a char)
shift_position