Java.Nio.Channels.FileChannel.Size Method
Returns the size of the file underlying this channel in bytes.

Syntax

[Android.Runtime.Register("size", "()J", "GetSizeHandler")]
public abstract long Size ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Nio.Channels.ClosedChannelExceptionif this channel is closed.
Java.IO.IOExceptionif an I/O error occurs while getting the size of the file.

Remarks

Returns the size of the file underlying this channel in bytes.

[Android Documentation]

Requirements

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