public interface HostBufferProvider extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
default void |
close()
Indicates that no more buffers will be supplied.
|
long |
readInto(HostMemoryBuffer buffer,
long len)
Place data into the given buffer.
|
long readInto(HostMemoryBuffer buffer, long len)
buffer - the buffer to put data into.len - the maximum amount of data to put into buffer. Less is okay if at EOF.default void close()
close in interface AutoCloseableCopyright © 2024. All rights reserved.