public int pipe ( final OutputStream os ) throws IOException { WritableByteChannel channel = Channels . newChannel ( os ) ; return channel . write ( getBufferForInternalBytes ( ) ) ; }
Pipe the raw bytes into the given output stream .