IObjectInput 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.
ObjectInput extends the DataInput interface to include the reading of objects.
[Android.Runtime.Register("java/io/ObjectInput", "", "Java.IO.IObjectInputInvoker")]
public interface IObjectInput : IDisposable, Java.Interop.IJavaPeerable, Java.IO.IDataInput
[<Android.Runtime.Register("java/io/ObjectInput", "", "Java.IO.IObjectInputInvoker")>]
type IObjectInput = interface
interface IDataInput
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Derived
- Attributes
- Implements
Remarks
ObjectInput extends the DataInput interface to include the reading of objects. DataInput includes methods for the input of primitive types, ObjectInput extends that interface to include objects, arrays, and Strings.
Added in 1.1.
Java documentation for java.io.ObjectInput
.
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
Available() |
Returns the number of bytes that can be read without blocking. |
Close() |
Closes the input 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) |
Read() |
Reads a byte of data. |
Read(Byte[], Int32, Int32) |
Reads into an array of bytes. |
Read(Byte[]) |
Reads into an array of bytes. |
ReadBoolean() |
Reads one input byte and returns
|
ReadByte() |
Reads and returns one input byte. (Inherited from IDataInput) |
ReadChar() |
Reads two input bytes and returns a |
ReadDouble() |
Reads eight input bytes and returns
a |
ReadFloat() |
Reads four input bytes and returns
a |
ReadFully(Byte[], Int32, Int32) |
Reads |
ReadFully(Byte[]) |
Reads some bytes from an input
stream and stores them into the buffer
array |
ReadInt() |
Reads four input bytes and returns an
|
ReadLine() |
Reads the next line of text from the input stream. (Inherited from IDataInput) |
ReadLong() |
Reads eight input bytes and returns
a |
ReadObject() |
Read and return an object. |
ReadShort() |
Reads two input bytes and returns
a |
ReadUnsignedByte() |
Reads one input byte, zero-extends
it to type |
ReadUnsignedShort() |
Reads two input bytes and returns
an |
ReadUTF() |
Reads in a string that has been encoded using a modified UTF-8 format. (Inherited from IDataInput) |
SetJniIdentityHashCode(Int32) |
Set the value returned by |
SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from IJavaPeerable) |
SetPeerReference(JniObjectReference) |
Set the value returned by |
Skip(Int64) |
Skips n bytes of input. |
SkipBytes(Int32) |
Makes an attempt to skip over
|
UnregisterFromRuntime() |
Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations. (Inherited from IJavaPeerable) |