IObjectOutput Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ObjectOutput extends the DataOutput interface to include writing of objects.
[Android.Runtime.Register("java/io/ObjectOutput", "", "Java.IO.IObjectOutputInvoker")]
public interface IObjectOutput : IDisposable, Java.Interop.IJavaPeerable, Java.IO.IDataOutput
[<Android.Runtime.Register("java/io/ObjectOutput", "", "Java.IO.IObjectOutputInvoker")>]
type IObjectOutput = interface
interface IDataOutput
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Derived
- Attributes
- Implements
Remarks
ObjectOutput extends the DataOutput interface to include writing of objects. DataOutput includes methods for output of primitive types, ObjectOutput extends that interface to include objects, arrays, and Strings.
Added in 1.1.
Java documentation for java.io.ObjectOutput
.
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) |
JniIdentityHashCode |
Returns the value of |
JniManagedPeerState |
State of the managed peer. (Inherited from IJavaPeerable) |
JniPeerMembers |
Member access and invocation support. (Inherited from IJavaPeerable) |
PeerReference |
Returns a JniObjectReference of the wrapped Java object instance. (Inherited from IJavaPeerable) |
Methods
Close() |
Closes the stream. |
Disposed() |
Called when the instance has been disposed. (Inherited from IJavaPeerable) |
DisposeUnlessReferenced() |
If there are no outstanding references to this instance, then
calls |
Finalized() |
Called when the instance has been finalized. (Inherited from IJavaPeerable) |
Flush() |
Flushes the stream. |
SetJniIdentityHashCode(Int32) |
Set the value returned by |
SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from IJavaPeerable) |
SetPeerReference(JniObjectReference) |
Set the value returned by |
UnregisterFromRuntime() |
Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations. (Inherited from IJavaPeerable) |
Write(Byte[], Int32, Int32) |
Writes |
Write(Byte[]) |
Writes to the output stream all the bytes in array |
Write(Int32) |
Writes to the output stream the eight
low-order bits of the argument |
WriteBoolean(Boolean) |
Writes a |
WriteByte(Int32) |
Writes to the output stream the eight low-
order bits of the argument |
WriteBytes(String) |
Writes a string to the output stream. (Inherited from IDataOutput) |
WriteChar(Int32) |
Writes a |
WriteChars(String) |
Writes every character in the string |
WriteDouble(Double) |
Writes a |
WriteFloat(Single) |
Writes a |
WriteInt(Int32) |
Writes an |
WriteLong(Int64) |
Writes a |
WriteObject(Object) |
Write an object to the underlying storage or stream. |
WriteShort(Int32) |
Writes two bytes to the output stream to represent the value of the argument. (Inherited from IDataOutput) |
WriteUTF(String) |
Writes two bytes of length information
to the output stream, followed
by the
modified UTF-8
representation
of every character in the string |