public final class ByteArray extends Object
Constructor and Description |
---|
ByteArray() |
ByteArray(byte[] byteArray) |
ByteArray(int size) |
Modifier and Type | Method and Description |
---|---|
void |
appendByte(int value) |
int |
at(int index)
Access an unsigned byte at location index.
|
boolean |
isEmpty() |
void |
reserve(int capacity) |
void |
set(byte[] source, int offset, int count) |
void |
set(int index, int value) |
int |
size() |
public ByteArray()
public ByteArray(int size)
public ByteArray(byte[] byteArray)
public int at(int index)
index
- The index in the array to access.
public void set(int index, int value)
public int size()
public boolean isEmpty()
public void appendByte(int value)
public void reserve(int capacity)
public void set(byte[] source, int offset, int count)
Copyright © 1998–2019. All rights reserved.