ObjectOutputStream.WriteStreamHeader Method

Definition

The writeStreamHeader method is provided so subclasses can append or prepend their own header to the stream.

[Android.Runtime.Register("writeStreamHeader", "()V", "GetWriteStreamHeaderHandler")]
protected virtual void WriteStreamHeader();
Attributes

Exceptions

if an error occurs while writing to the target stream.

Remarks

The writeStreamHeader method is provided so subclasses can append or prepend their own header to the stream. It writes the magic number and version to the stream.

Java documentation for java.io.ObjectOutputStream.writeStreamHeader().

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.

Applies to

Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35, .NET for Android API 36