Android.Content.Res.AssetFileDescriptor.Length Property
Returns the total number of bytes of this asset entry's data.

Syntax

[get: Android.Runtime.Register("getLength", "()J", "GetGetLengthHandler")]
public virtual long Length { get; }

See Also

AssetFileDescriptor.DeclaredLength

Value

Documentation for this section has not yet been entered.

Remarks

Returns the total number of bytes of this asset entry's data. May be AssetFileDescriptor.UnknownLength if the asset extends to the end of the file. If the AssetFileDescriptor was constructed with AssetFileDescriptor.UnknownLength, this will use Android.OS.ParcelFileDescriptor.StatSize to find the total size of the file, returning that number if found or AssetFileDescriptor.UnknownLength if it could not be determined.

[Android Documentation]

Requirements

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