| Modifier and Type | Class and Description |
|---|---|
class |
PowerBuffer<This extends PowerBuffer<This>>
Adapts a
ByteBuffer to provide an enhanced API, e.g. for reading
unsigned integers. |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableBuffer
A power buffer with immutable properties.
|
class |
MutableBuffer
A power buffer with mutable properties.
|
| Modifier and Type | Method and Description |
|---|---|
static PowerBuffer<?> |
PowerBuffer.allocate(int capacity) |
static PowerBuffer<?> |
PowerBuffer.allocateDirect(int capacity) |
static PowerBuffer<?> |
PowerBuffer.wrap(byte[] array) |
static PowerBuffer<?> |
PowerBuffer.wrap(byte[] array,
int offset,
int length) |
static PowerBuffer<?> |
PowerBuffer.wrap(ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
This |
PowerBuffer.put(PowerBuffer<?> src)
Obtains the adapted byte
buffer() from the given power buffer
and forwards the call to put(ByteBuffer). |
Copyright © 2012–2014 Schlichtherle IT Services. All rights reserved.