obspy.io.rg16.util._read_binary

_read_binary(fi, length, left_part)[source]

Read raw bytes and convert them in integer.

Parameters
  • fi – A buffer containing the bytes to read.

  • length (int or float) – number of bytes to read.

  • left_part (bool) – If True, start the reading from the first half part of the byte.