|Modifier and Type||Method and Description|
Transfers the specified chunk of bytes from this body to the specified channel.
long transferTo(long position, WritableByteChannel target) throws IOException
position- The zero-based byte index from which to start the transfer, must not be negative.
target- The destination channel to transfer the body chunk to, must not be
IOException- If the body chunk could not be transferred.
Copyright © 2015. All Rights Reserved.