public static OutputStream newOutputStream(AsynchronousByteChannel arg0) { return Static.CallMethod<OutputStream>(typeof(Channels), "newOutputStream", "(Ljava/nio/channels/AsynchronousByteChannel;)Ljava/io/OutputStream;", arg0); }
/// <summary> /// Constructs a stream that writes bytes to the given channel. /// /// <para> The stream will not be buffered. The stream will be safe for access /// by multiple concurrent threads. Closing the stream will in turn cause /// the channel to be closed. </para> /// </summary> /// <param name="ch"> /// The channel to which bytes will be written /// </param> /// <returns> A new output stream /// /// @since 1.7 </returns> //JAVA TO C# CONVERTER WARNING: 'final' parameters are not allowed in .NET: //ORIGINAL LINE: public static java.io.OutputStream newOutputStream(final AsynchronousByteChannel ch) public static OutputStream NewOutputStream(AsynchronousByteChannel ch) { CheckNotNull(ch, "ch"); return(new OutputStreamAnonymousInnerClassHelper2(ch)); }