FileInputStream.Channel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the unique java.nio.channels.FileChannel FileChannel
object associated with this file input stream.
public virtual Java.Nio.Channels.FileChannel? Channel { [Android.Runtime.Register("getChannel", "()Ljava/nio/channels/FileChannel;", "GetGetChannelHandler")] get; }
[<get: Android.Runtime.Register("getChannel", "()Ljava/nio/channels/FileChannel;", "GetGetChannelHandler")>]
member this.Channel : Java.Nio.Channels.FileChannel
Property Value
the file channel associated with this file input stream
- Attributes
Remarks
Returns the unique java.nio.channels.FileChannel FileChannel
object associated with this file input stream.
The initial java.nio.channels.FileChannel#position() position
of the returned channel will be equal to the number of bytes read from the file so far. Reading bytes from this stream will increment the channel's position. Changing the channel's position, either explicitly or by reading, will change this stream's file position.
Added in 1.4.
Java documentation for java.io.FileInputStream.getChannel()
.
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.