package ocgtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Wrappers.Data_output_stream

type t = [ `data_output_stream | `filter_output_stream | `output_stream | `object_ ] Gobject.obj
val new_ : [ `output_stream | `object_ ] Gobject.obj -> t

Create a new DataOutputStream

val set_byte_order : t -> Gio_enums.datastreambyteorder -> unit

Sets the byte order of the data output stream to @order.

val put_uint64 : t -> UInt64.t -> [ `cancellable | `object_ ] Gobject.obj option -> (bool, GError.t) result

Puts an unsigned 64-bit integer into the stream.

val put_uint32 : t -> UInt32.t -> [ `cancellable | `object_ ] Gobject.obj option -> (bool, GError.t) result

Puts an unsigned 32-bit integer into the stream.

val put_uint16 : t -> UInt16.t -> [ `cancellable | `object_ ] Gobject.obj option -> (bool, GError.t) result

Puts an unsigned 16-bit integer into the output stream.

val put_string : t -> string -> [ `cancellable | `object_ ] Gobject.obj option -> (bool, GError.t) result

Puts a string into the output stream.

val put_int64 : t -> int64 -> [ `cancellable | `object_ ] Gobject.obj option -> (bool, GError.t) result

Puts a signed 64-bit integer into the stream.

val put_int32 : t -> Int32.t -> [ `cancellable | `object_ ] Gobject.obj option -> (bool, GError.t) result

Puts a signed 32-bit integer into the output stream.

val put_int16 : t -> Int16.t -> [ `cancellable | `object_ ] Gobject.obj option -> (bool, GError.t) result

Puts a signed 16-bit integer into the output stream.

val get_byte_order : t -> Gio_enums.datastreambyteorder

Gets the byte order for the stream.