Table of Contents

Class DataOutputStream

Namespace
Gio
Assembly
Gio-2.0.dll
public class DataOutputStream : FilterOutputStream, IObject, INotifyPropertyChanged, IDisposable, Seekable, IHandle, GTypeProvider
Inheritance
DataOutputStream
Implements
Inherited Members

Constructors

DataOutputStream(bool, params ConstructArgument[])

protected DataOutputStream(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

DataOutputStream(IntPtr, bool)

protected DataOutputStream(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ByteOrderPropertyDefinition

public static readonly Property<DataStreamByteOrder, DataOutputStream> ByteOrderPropertyDefinition

Field Value

Property<DataStreamByteOrder, DataOutputStream>

Properties

ByteOrder

public DataStreamByteOrder ByteOrder { get; set; }

Property Value

DataStreamByteOrder

Methods

CanSeek()

public bool CanSeek()

Returns

bool

CanTruncate()

public bool CanTruncate()

Returns

bool

GetByteOrder()

public DataStreamByteOrder GetByteOrder()

Returns

DataStreamByteOrder

GetGType()

public static Type GetGType()

Returns

Type

New(OutputStream)

public static DataOutputStream New(OutputStream baseStream)

Parameters

baseStream OutputStream

Returns

DataOutputStream

PutByte(byte, Cancellable?)

public bool PutByte(byte data, Cancellable? cancellable)

Parameters

data byte
cancellable Cancellable

Returns

bool

PutInt16(short, Cancellable?)

public bool PutInt16(short data, Cancellable? cancellable)

Parameters

data short
cancellable Cancellable

Returns

bool

PutInt32(int, Cancellable?)

public bool PutInt32(int data, Cancellable? cancellable)

Parameters

data int
cancellable Cancellable

Returns

bool

PutInt64(long, Cancellable?)

public bool PutInt64(long data, Cancellable? cancellable)

Parameters

data long
cancellable Cancellable

Returns

bool

PutString(string, Cancellable?)

public bool PutString(string str, Cancellable? cancellable)

Parameters

str string
cancellable Cancellable

Returns

bool

PutUint16(ushort, Cancellable?)

public bool PutUint16(ushort data, Cancellable? cancellable)

Parameters

data ushort
cancellable Cancellable

Returns

bool

PutUint32(uint, Cancellable?)

public bool PutUint32(uint data, Cancellable? cancellable)

Parameters

data uint
cancellable Cancellable

Returns

bool

PutUint64(ulong, Cancellable?)

public bool PutUint64(ulong data, Cancellable? cancellable)

Parameters

data ulong
cancellable Cancellable

Returns

bool

Seek(long, SeekType, Cancellable?)

public bool Seek(long offset, SeekType type, Cancellable? cancellable)

Parameters

offset long
type SeekType
cancellable Cancellable

Returns

bool

SetByteOrder(DataStreamByteOrder)

public void SetByteOrder(DataStreamByteOrder order)

Parameters

order DataStreamByteOrder

Tell()

public long Tell()

Returns

long

Truncate(long, Cancellable?)

public bool Truncate(long offset, Cancellable? cancellable)

Parameters

offset long
cancellable Cancellable

Returns

bool