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

        """
        (len_t, val_t) = self.list_dtype(byte_order)

        data = _np.asarray(data, dtype=val_t).ravel()

        _np.array(data.size, dtype=len_t).tofile(stream)
        data.tofile(stream)
def _write_bin ( self , data , stream , byte_order ) : ( len_t , val_t ) = self . list_dtype ( byte_order ) data = _np . asarray ( data , dtype = val_t ) . ravel ( ) _np . array ( data . size , dtype = len_t ) . tofile ( stream ) data . tofile ( stream )