@FunctionalInterface public static interface ResourceList.ByteBufferConsumer
Modifier and Type | Method | Description |
---|---|---|
void |
accept(Resource resource,
ByteBuffer byteBuffer) |
Consume a
Resource as a ByteBuffer . |
void accept(Resource resource, ByteBuffer byteBuffer)
Resource
as a ByteBuffer
.resource
- The Resource
whose content is reflected in the ByteBuffer
.byteBuffer
- The ByteBuffer
mapped to the resource.Copyright © 2018. All rights reserved.