@NotThreadSafe public final class NibbleArray extends Object
Constructor and Description |
---|
NibbleArray(byte... data) |
NibbleArray(int size) |
Modifier and Type | Method and Description |
---|---|
byte[] |
array() |
int |
byteLength() |
void |
fill(byte value) |
static byte |
get(byte[] source,
int index) |
byte |
get(int index) |
int |
length() |
static void |
set(byte[] data,
int index,
byte value) |
void |
setRaw(byte[] source) |
public NibbleArray(int size)
public NibbleArray(byte... data)
public byte[] array()
public int length()
public int byteLength()
public byte get(int index)
public static void set(byte[] data, int index, byte value)
public void fill(byte value)
public void setRaw(byte[] source)
public static byte get(byte[] source, int index)
Copyright © 2016. All rights reserved.