Package ch.bailu.gtk.gio
Klasse DataOutputStream
- Alle implementierten Schnittstellen:
PointerInterface
Data output stream implements [class@Gio.OutputStream] and includes functions
for writing data directly to an output stream.
for writing data directly to an output stream.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gio.OutputStream
OutputStream.OnAsyncReadyCallback
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDataOutputStream
(OutputStream base_stream) Creates a new data output stream for @base_stream.DataOutputStream
(PointerContainer pointer) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungImplements interfaceSeekable
.int
Gets the byte order for the stream.static ClassHandler
static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
boolean
putByte
(byte data, Cancellable cancellable) Puts a byte into the output stream.boolean
putInt16
(int data, Cancellable cancellable) Puts a signed 16-bit integer into the output stream.boolean
putInt32
(int data, Cancellable cancellable) Puts a signed 32-bit integer into the output stream.boolean
putInt64
(long data, Cancellable cancellable) Puts a signed 64-bit integer into the stream.boolean
putString
(Str str, Cancellable cancellable) Puts a string into the output stream.boolean
putString
(String str, Cancellable cancellable) Puts a string into the output stream.boolean
putUint16
(int data, Cancellable cancellable) Puts an unsigned 16-bit integer into the output stream.boolean
putUint32
(int data, Cancellable cancellable) Puts an unsigned 32-bit integer into the stream.boolean
putUint64
(long data, Cancellable cancellable) Puts an unsigned 64-bit integer into the stream.void
setByteOrder
(int order) Sets the byte order of the data output stream to @order.Von Klasse geerbte Methoden ch.bailu.gtk.gio.FilterOutputStream
getBaseStream, getCloseBaseStream, setCloseBaseStream
Von Klasse geerbte Methoden ch.bailu.gtk.gio.OutputStream
clearPending, close, closeAsync, closeFinish, flush, flushAsync, flushFinish, hasPending, isClosed, isClosing, setPending, splice, spliceAsync, spliceFinish, write, writeAll, writeAllAsync, writeAllFinish, writeAsync, writeBytes, writeBytesAsync, writeBytesFinish, writeFinish, writevAllFinish, writevFinish
Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
DataOutputStream
-
DataOutputStream
Creates a new data output stream for @base_stream.- Parameter:
base_stream
- a #GOutputStream.
-
-
Methodendetails
-
getClassHandler
-
getByteOrder
public int getByteOrder()Gets the byte order for the stream.- Gibt zurück:
- the #GDataStreamByteOrder for the @stream.
-
putByte
Puts a byte into the output stream.- Parameter:
data
- a #guchar.cancellable
- optional #GCancellable object, %NULL to ignore.- Gibt zurück:
- %TRUE if @data was successfully added to the @stream.
- Löst aus:
AllocationError
-
putInt16
Puts a signed 16-bit integer into the output stream.- Parameter:
data
- a #gint16.cancellable
- optional #GCancellable object, %NULL to ignore.- Gibt zurück:
- %TRUE if @data was successfully added to the @stream.
- Löst aus:
AllocationError
-
putInt32
Puts a signed 32-bit integer into the output stream.- Parameter:
data
- a #gint32.cancellable
- optional #GCancellable object, %NULL to ignore.- Gibt zurück:
- %TRUE if @data was successfully added to the @stream.
- Löst aus:
AllocationError
-
putInt64
Puts a signed 64-bit integer into the stream.- Parameter:
data
- a #gint64.cancellable
- optional #GCancellable object, %NULL to ignore.- Gibt zurück:
- %TRUE if @data was successfully added to the @stream.
- Löst aus:
AllocationError
-
putString
public boolean putString(@Nonnull Str str, @Nullable Cancellable cancellable) throws AllocationError Puts a string into the output stream.- Parameter:
str
- a string.cancellable
- optional #GCancellable object, %NULL to ignore.- Gibt zurück:
- %TRUE if @string was successfully added to the @stream.
- Löst aus:
AllocationError
-
putString
Puts a string into the output stream.- Parameter:
str
- a string.cancellable
- optional #GCancellable object, %NULL to ignore.- Gibt zurück:
- %TRUE if @string was successfully added to the @stream.
- Löst aus:
AllocationError
-
putUint16
Puts an unsigned 16-bit integer into the output stream.- Parameter:
data
- a #guint16.cancellable
- optional #GCancellable object, %NULL to ignore.- Gibt zurück:
- %TRUE if @data was successfully added to the @stream.
- Löst aus:
AllocationError
-
putUint32
Puts an unsigned 32-bit integer into the stream.- Parameter:
data
- a #guint32.cancellable
- optional #GCancellable object, %NULL to ignore.- Gibt zurück:
- %TRUE if @data was successfully added to the @stream.
- Löst aus:
AllocationError
-
putUint64
Puts an unsigned 64-bit integer into the stream.- Parameter:
data
- a #guint64.cancellable
- optional #GCancellable object, %NULL to ignore.- Gibt zurück:
- %TRUE if @data was successfully added to the @stream.
- Löst aus:
AllocationError
-
setByteOrder
public void setByteOrder(int order) Sets the byte order of the data output stream to @order.- Parameter:
order
- a %GDataStreamByteOrder.
-
asSeekable
Implements interfaceSeekable
. Call this to get access to interface functions.- Gibt zurück:
Seekable
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-