Channels.NewReadableChannel(Stream) Method
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.
Constructs a channel that reads bytes from the given stream.
[Android.Runtime.Register("newChannel", "(Ljava/io/InputStream;)Ljava/nio/channels/ReadableByteChannel;", "")]
public static Java.Nio.Channels.IReadableByteChannel? NewReadableChannel (System.IO.Stream? in);
[<Android.Runtime.Register("newChannel", "(Ljava/io/InputStream;)Ljava/nio/channels/ReadableByteChannel;", "")>]
static member NewReadableChannel : System.IO.Stream -> Java.Nio.Channels.IReadableByteChannel
Parameters
- in
- Stream
The stream from which bytes are to be read
Returns
A new readable byte channel
- Attributes
Remarks
Java documentation for java.nio.channels.Channels.newChannel(java.io.InputStream).
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.