public final class Unsigned8 extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
packToBuffer(int x,
ByteBuffer data,
int index)
Pack an unsigned 8-bit integer into the buffer.
|
static int |
unpackFromBuffer(ByteBuffer data,
int index)
Unpack an unsigned 8-bit integer from the buffer.
|
public static int unpackFromBuffer(ByteBuffer data, int index)
data - The buffer.index - The starting index.public static void packToBuffer(int x,
ByteBuffer data,
int index)
x - The value.data - The buffer.index - The starting index.Copyright © 2017 <code@io7m.com> http://io7m.com