fluiddyn.io.binary

IO for binary files (fluiddyn.io.binary)

Provides the class BinFile.

class fluiddyn.io.binary.BinFile(file_path, mode='rb', byteorder=None)[source]

Bases: FileIO

readt(nb_values, codetype, byteorder=None)[source]

Read some values coded in a particular type.

readt_zlib(nb_bytes, nb_values, codetype)[source]

Read some value encoded with zlib.

Functions

chunks(l, n)

Yield successive n-sized chunks from l.

Classes

BinFile(file_path[, mode, byteorder])