gio.DataOutputStream — Data Output Stream
class gio.DataOutputStream(gio.BufferedOutputStream):  | 
+-- gobject.GObject +-- gio.OutputStream +-- gio.FilterOutputStream +-- gio.BufferedOutputStream +-- gio.DataOutputStream
  | 
            gio.DataOutputStream
            implements gio.InputStream
            and includes functions for writing data directly to an output stream.
        
    gio.DataOutputStream(base_stream)
  | a
                gio.OutputStream.
                 | 
Returns :  | a new
                gio.DataOutputStream
                 | 
            Creates a new gio.DataOutputStream
            from the given base_stream.
        
    def get_byte_order()Returns :  | the stream's current Gio Data Stream Byte Order Constants. | 
                The get_byte_order() method gets the byte
                order for the stream.
            
    def put_byte(data, cancellable=None)
  | a char. | 
  | optional
                    gio.Cancellable
                    object, None to ignore.
                   | 
Returns :  | True if data was successfully added to the stream. 
                     | 
                The put_byte() method puts a byte into the output stream.
            
                If cancellable is not None, then the operation can be cancelled by
                triggering the cancellable object from another thread. If the operation was cancelled,
                the error gio.ERROR_CANCELLED will be returned.
            
    def put_int16(data, cancellable=None)
  | a gint16. | 
  | optional
                    gio.Cancellable
                    object, None to ignore.
                   | 
Returns :  | True if data was successfully added to the stream. 
                     | 
                The put_int16() method puts a signed 16-bit integer into the output stream.
            
                If cancellable is not None, then the operation can be cancelled by
                triggering the cancellable object from another thread. If the operation was cancelled,
                the error gio.ERROR_CANCELLED will be returned.
            
    def put_int32(data, cancellable=None)
  | a gint32. | 
  | optional
                    gio.Cancellable
                    object, None to ignore.
                   | 
Returns :  | True if data was successfully added to the stream.
                     | 
                The put_int32() method puts a signed 32-bit integer into the output stream.
            
                If cancellable is not None, then the operation can be cancelled by
                triggering the cancellable object from another thread. If the operation was cancelled,
                the error gio.ERROR_CANCELLED will be returned.
            
    def put_int64(data, cancellable=None)
  | a gint64. | 
  | optional
                    gio.Cancellable
                    object, None to ignore.
                   | 
Returns :  | True if data was successfully added to the stream.
                     | 
                The put_int64() method puts a signed 64-bit integer into the output stream.
            
                If cancellable is not None, then the operation can be cancelled by
                triggering the cancellable object from another thread. If the operation was cancelled,
                the error gio.ERROR_CANCELLED will be returned.
            
    def put_string(str, cancellable=None)
  | a string. | 
  | optional
                    gio.Cancellable
                    object, None to ignore.
                   | 
Returns :  | True if string was successfully added to the stream. 
                     | 
                The put_string() method puts a string into the output stream.
            
                If cancellable is not None, then the operation can be cancelled by
                triggering the cancellable object from another thread. If the operation was cancelled,
                the error gio.ERROR_CANCELLED will be returned.
            
    def put_uint16(data, cancellable=None)
  | a guint16. | 
  | optional
                    gio.Cancellable
                    object, None to ignore.
                   | 
Returns :  | True if data was successfully added to the stream. 
                     | 
                The put_uint16() method puts an unsigned 16-bit integer into the output stream.
            
                If cancellable is not None, then the operation can be cancelled by
                triggering the cancellable object from another thread. If the operation was cancelled,
                the error gio.ERROR_CANCELLED will be returned.
            
    def put_uint32(data, cancellable=None)
  | a guint32. | 
  | optional
                    gio.Cancellable
                    object, None to ignore.
                   | 
Returns :  | True if data was successfully added to the stream.
                     | 
                The put_uint32() method puts an unsigned 32-bit integer into the output stream.
            
                If cancellable is not None, then the operation can be cancelled by
                triggering the cancellable object from another thread. If the operation was cancelled,
                the error gio.ERROR_CANCELLED will be returned.
            
    def put_uint64(data, cancellable=None)
  | a guint64. | 
  | optional
                    gio.Cancellable
                    object, None to ignore.
                   | 
Returns :  | True if data was successfully added to the stream.
                     | 
                The put_uint64() method puts an unsigned 64-bit integer into the output stream.
            
                If cancellable is not None, then the operation can be cancelled by
                triggering the cancellable object from another thread. If the operation was cancelled,
                the error gio.ERROR_CANCELLED will be returned.
            
    def set_byte_order(order)
  | a Gio Data Stream Byte Order Constants to set. | 
                The set_byte_order() method sets the byte order for
                the given stream. All subsequent reads from the stream will be read in the given order.