Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: object
Data output stream implements [class@Gio.OutputStream] and includes functions for writing data directly to an output stream.
DataOutputStream (base_stream = null)
Creates a new data output stream for @base_stream.
base_stream is a #GOutputStream..toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asFilterOutputStream ()
Wraps this handle as
FilterOutputStream.
A FilterOutputStream object.asSeekable ()
Wraps this handle as
Seekable.
A Seekable object.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setByteorder (string Value)
Determines the byte ordering that is used when writing multi-byte entities (such as integers) to the stream.
Value is the new property value.None.get_byte_order ()
Gets the byte order for the stream.
put_string (string str, object cancellable)
Puts a string into the output stream.
str is a string..cancellable is optional #GCancellable object, %NULL to ignore..set_byte_order (string order)
Sets the byte order of the data output stream to @order.
order is a %GDataStreamByteOrder..None.[179:14] static extends: object
Generated metadata helpers for DataOutputStream class surfaces.
properties ()
Returns property metadata for
DataOutputStream.
A list.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.