public static OutputStream get ( IO . Writable io ) { if ( io instanceof IOFromOutputStream ) return ( ( IOFromOutputStream ) io ) . getOutputStream ( ) ; if ( io instanceof IO . WritableByteStream ) return new ByteStream ( ( IO . WritableByteStream ) io ) ; return new Writable ( io ) ; }
Create an OutputStream based on the given writable IO .