Transfer.ByteBufferTransfer, Transfer.FileChannelTransfer
Constructor and Description |
---|
FileChannelTransfer(ByteBuffer buf,
FileChannel channel,
long position,
long count) |
Modifier and Type | Method and Description |
---|---|
int |
remaining() |
int |
transferTo(WritableByteChannel s) |
public FileChannelTransfer(ByteBuffer buf, FileChannel channel, long position, long count)
public final int transferTo(WritableByteChannel s) throws IOException
transferTo
in interface Transfer
IOException
Copyright © 2023. All rights reserved.