Put data from one buffer into another, avoiding over/under flows
@param from Buffer to take bytes from in flush mode
@param to Buffer to put bytes to in flush mode. The buffer is flipToFill before the put and flipToFlush after.
@return number of bytes moved
@deprecated use {@link #append(ByteBuffer, ByteBuffer)}
Put data from one buffer into another, avoiding over/under flows
@param from Buffer to take bytes from in flush mode @param to Buffer to put bytes to in flush mode. The buffer is flipToFill before the put and flipToFlush after. @return number of bytes moved @deprecated use {@link #append(ByteBuffer, ByteBuffer)}