public void writeTo ( WritableByteChannel channel ) throws IOException { Assert . notNull ( channel , "Channel must not be null" ) ; while ( this . data . hasRemaining ( ) ) { channel . write ( this . data ) ; } }
Write the content of this payload to the given target channel .