gio.data_output_stream
Module for [DataOutputStream] class
Types 3
Data output stream implements gio.output_stream.OutputStream and includes functions for writing data directly to an output stream.
Methods
DataOutputStreamGidBuilder builder() static nothrowGet builder for [gio.data_output_stream.DataOutputStream] Returns: New builder objectgio.types.DataStreamByteOrder byteOrder() @property nothrowGet `byteOrder` property. Returns: Determines the byte ordering that is used when writing multi-byte entities (such as integers) to the stream.void byteOrder(gio.types.DataStreamByteOrder propval) @property nothrowSet `byteOrder` property. Params: propval = Determines the byte ordering that is used when writing multi-byte entities (such as integers) to the stream.gio.types.DataStreamByteOrder getByteOrder() nothrowGets the byte order for the stream. Returns: the #GDataStreamByteOrder for the stream.bool putByte(ubyte data, gio.cancellable.Cancellable cancellable = null)Puts a byte into the output stream.bool putInt16(short data, gio.cancellable.Cancellable cancellable = null)Puts a signed 16-bit integer into the output stream.bool putInt32(int data, gio.cancellable.Cancellable cancellable = null)Puts a signed 32-bit integer into the output stream.bool putInt64(long data, gio.cancellable.Cancellable cancellable = null)Puts a signed 64-bit integer into the stream.bool putString(string str, gio.cancellable.Cancellable cancellable = null)Puts a string into the output stream.bool putUint16(ushort data, gio.cancellable.Cancellable cancellable = null)Puts an unsigned 16-bit integer into the output stream.bool putUint32(uint data, gio.cancellable.Cancellable cancellable = null)Puts an unsigned 32-bit integer into the stream.bool putUint64(ulong data, gio.cancellable.Cancellable cancellable = null)Puts an unsigned 64-bit integer into the stream.void setByteOrder(gio.types.DataStreamByteOrder order) nothrowSets the byte order of the data output stream to order.Constructors
this(gio.output_stream.OutputStream baseStream)Creates a new data output stream for base_stream.classDataOutputStreamGidBuilderImpl(T) : gio.filter_output_stream.FilterOutputStreamGidBuilderImpl!T, gio.seekable.SeekableGidBuilderImpl!T
Fluent builder implementation template for gio.data_output_stream.DataOutputStream
Methods
T byteOrder(gio.types.DataStreamByteOrder propval) nothrowSet `byteOrder` property. Params: propval = Determines the byte ordering that is used when writing multi-byte entities (such as integers) to the stream. Returns: Builder instance for fluent chainingFluent builder for gio.data_output_stream.DataOutputStream
Methods