public interface HostBufferConsumer
| Modifier and Type | Method and Description |
|---|---|
default void |
done()
Indicates that no more buffers will be supplied.
|
void |
handleBuffer(HostMemoryBuffer buffer,
long len)
Consume a buffer.
|
void handleBuffer(HostMemoryBuffer buffer, long len)
buffer - the buffer. Be sure to close this buffer when you are done
with it or it will leak.len - the length of the buffer that is valid. The valid data will be 0 until len.default void done()
Copyright © 2023. All rights reserved.