def _read_bin(self, stream, byte_order): ''' Read data from a binary stream. ''' return _np.fromfile(stream, self.dtype(byte_order), 1)[0]