def _write_bin(self, data, stream, byte_order):
        '''
        Write data to a binary stream.

        '''
        _write_array(stream, _np.dtype(self.dtype(byte_order)).type(data))
Write data to a binary stream.