public final class ByteArray extends Object
| Modifier and Type | Method and Description |
|---|---|
byte[] |
array()
Returns copy of the array.
|
boolean |
equals(Object obj) |
static ByteArray |
from(byte[] a)
Creates an instance of this class.
|
byte |
get(int index)
Return the byte at a position.
|
int |
hashCode() |
int |
length()
Returns the array length
|
String |
toString() |
public static ByteArray from(byte[] a)
a - an array of bytespublic byte get(int index)
index - the positionpublic int length()
public byte[] array()
Copyright © 2024. All rights reserved.