Share via


IObjectOutput.Flush Method

Definition

Flushes the stream.

[Android.Runtime.Register("flush", "()V", "GetFlushHandler:Java.IO.IObjectOutputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Flush ();
[<Android.Runtime.Register("flush", "()V", "GetFlushHandler:Java.IO.IObjectOutputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Flush : unit -> unit
Attributes

Exceptions

if an error occurs while flushing the target stream.

Remarks

Flushes the stream. This will write any buffered output bytes.

Java documentation for java.io.ObjectOutput.flush().

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