IObjectOutput Interface

Definition

Defines an interface for classes that allow writing serialized objects.

[Android.Runtime.Register("java/io/ObjectOutput", "", "Java.IO.IObjectOutputInvoker", ApiSince=1)]
public interface IObjectOutput : IDisposable, Java.IO.IDataOutput
type IObjectOutput = interface
    interface IDataOutput
    interface IJavaObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Properties

Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)

Methods

Close()

Closes the target stream.

Flush()

Flushes the target stream.

Write(Byte[])

Writes the entire contents of the byte array buffer to this stream.

(Inherited from IDataOutput)
Write(Byte[], Int32, Int32)

Writes count bytes from the byte array buffer starting at offset index.

(Inherited from IDataOutput)
Write(Int32)

Writes the specified 8-bit byte.

(Inherited from IDataOutput)
WriteBoolean(Boolean)

Writes the specified boolean.

(Inherited from IDataOutput)
WriteByte(Int32)

Writes the specified 8-bit byte.

(Inherited from IDataOutput)
WriteBytes(String)

Writes the low order 8-bit bytes from the specified string.

(Inherited from IDataOutput)
WriteChar(Int32)

Writes the specified 16-bit character in big-endian order.

(Inherited from IDataOutput)
WriteChars(String)

Writes the 16-bit characters contained in str in big-endian order.

(Inherited from IDataOutput)
WriteDouble(Double)

Writes the specified 64-bit double in big-endian order.

(Inherited from IDataOutput)
WriteFloat(Single)

Writes the specified 32-bit float in big-endian order.

(Inherited from IDataOutput)
WriteInt(Int32)

Writes the specified 32-bit int in big-endian order.

(Inherited from IDataOutput)
WriteLong(Int64)

Writes the specified 64-bit long in big-endian order.

(Inherited from IDataOutput)
WriteObject(Object)

Writes the specified object obj to the target stream.

WriteShort(Int32)

Writes the specified 16-bit short in big-endian order.

(Inherited from IDataOutput)
WriteUTF(String)

Writes the specified string encoded in IDataInput.

(Inherited from IDataOutput)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
WriteAsync(IDataOutput, Byte[])
WriteAsync(IDataOutput, Byte[], Int32, Int32)
WriteAsync(IDataOutput, Int32)
WriteBooleanAsync(IDataOutput, Boolean)
WriteByteAsync(IDataOutput, Int32)
WriteBytesAsync(IDataOutput, String)
WriteCharAsync(IDataOutput, Int32)
WriteCharsAsync(IDataOutput, String)
WriteDoubleAsync(IDataOutput, Double)
WriteFloatAsync(IDataOutput, Single)
WriteIntAsync(IDataOutput, Int32)
WriteLongAsync(IDataOutput, Int64)
WriteShortAsync(IDataOutput, Int32)
WriteUTFAsync(IDataOutput, String)
FlushAsync(IObjectOutput)
WriteObjectAsync(IObjectOutput, Object)

Applies to