Class: Gio::DataOutputStream
- Inherits:
-
FilterOutputStream
- Object
- OutputStream
- FilterOutputStream
- Gio::DataOutputStream
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#byte_order ⇒ Gio::DataStreamByteOrder
Determines the byte ordering that is used when writing multi-byte entities (such as integers) to the stream.
-
#byte_order=(byte_order) ⇒ Gio::DataStreamByteOrder
Determines the byte ordering that is used when writing multi-byte entities (such as integers) to the stream.
-
#initialize(base_stream) ⇒ Gio::DataOutputStream
constructor
Creates a new data output stream for base_stream.
-
#put_byte(data, cancellable) ⇒ Boolean
Puts a byte into the output stream.
-
#put_int16(data, cancellable) ⇒ Boolean
Puts a signed 16-bit integer into the output stream.
-
#put_int32(data, cancellable) ⇒ Boolean
Puts a signed 32-bit integer into the output stream.
-
#put_int64(data, cancellable) ⇒ Boolean
Puts a signed 64-bit integer into the stream.
-
#put_string(str, cancellable) ⇒ Boolean
Puts a string into the output stream.
-
#put_uint16(data, cancellable) ⇒ Boolean
Puts an unsigned 16-bit integer into the output stream.
-
#put_uint32(data, cancellable) ⇒ Boolean
Puts an unsigned 32-bit integer into the stream.
-
#put_uint64(data, cancellable) ⇒ Boolean
Puts an unsigned 64-bit integer into the stream.
Methods inherited from FilterOutputStream
#base_stream, #base_stream=, #close_base_stream, #close_base_stream=, #close_base_stream?
Methods inherited from OutputStream
#clear_pending, #close, #close_async, #close_finish, #flush, #flush_async, #flush_finish, #has_pending, #is_closed, #is_closing, open, #printf, #set_pending, #splice, #splice_async, #splice_finish, #vprintf, #write, #write_all, #write_all_async, #write_all_finish, #write_async, #write_bytes, #write_bytes_async, #write_bytes_finish, #write_finish, #writev, #writev_all, #writev_all_async, #writev_all_finish, #writev_async, #writev_finish
Constructor Details
#initialize(base_stream) ⇒ Gio::DataOutputStream
Creates a new data output stream for base_stream.
Instance Method Details
#byte_order ⇒ Gio::DataStreamByteOrder
Determines the byte ordering that is used when writing multi-byte entities (such as integers) to the stream.
#byte_order=(byte_order) ⇒ Gio::DataStreamByteOrder
Determines the byte ordering that is used when writing multi-byte entities (such as integers) to the stream.
#put_byte(data, cancellable) ⇒ Boolean
Puts a byte into the output stream.
#put_int16(data, cancellable) ⇒ Boolean
Puts a signed 16-bit integer into the output stream.
#put_int32(data, cancellable) ⇒ Boolean
Puts a signed 32-bit integer into the output stream.
#put_int64(data, cancellable) ⇒ Boolean
Puts a signed 64-bit integer into the stream.
#put_string(str, cancellable) ⇒ Boolean
Puts a string into the output stream.
#put_uint16(data, cancellable) ⇒ Boolean
Puts an unsigned 16-bit integer into the output stream.
#put_uint32(data, cancellable) ⇒ Boolean
Puts an unsigned 32-bit integer into the stream.
#put_uint64(data, cancellable) ⇒ Boolean
Puts an unsigned 64-bit integer into the stream.