Java.IO.ObjectInputStream.ReadStreamHeader Method
Reads and validates the ObjectInputStream header from the source stream.

Syntax

[Android.Runtime.Register("readStreamHeader", "()V", "GetReadStreamHeaderHandler")]
protected virtual void ReadStreamHeader ()

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while reading from the source stream.
Java.IO.StreamCorruptedExceptionif the source stream does not contain readable serialized objects.

Remarks

Reads and validates the ObjectInputStream header from the source stream.

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1