Compartir a través de


IObjectInput.Available Method

Definition

Returns the number of bytes that can be read without blocking.

[Android.Runtime.Register("available", "()I", "GetAvailableHandler:Java.IO.IObjectInputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int Available ();
[<Android.Runtime.Register("available", "()I", "GetAvailableHandler:Java.IO.IObjectInputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Available : unit -> int

Returns

the number of available bytes.

Attributes

Exceptions

if an I/O error occurs.

Remarks

Returns the number of bytes that can be read without blocking.

Java documentation for java.io.ObjectInput.available().

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