public final class ImmutableByteArray extends Object
| Constructor and Description |
|---|
ImmutableByteArray(byte[] b) |
ImmutableByteArray(byte[] b,
int start,
int length) |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableByteArray |
concat(byte b,
ImmutableByteArray b1) |
byte |
get(int i) |
int |
length() |
static ImmutableByteArray |
make(String s) |
byte[] |
substring(int i,
int length) |
String |
toString() |
public ImmutableByteArray(byte[] b)
public ImmutableByteArray(byte[] b,
int start,
int length)
public int length()
public byte get(int i)
throws IllegalArgumentException
IllegalArgumentExceptionpublic byte[] substring(int i,
int length)
public static ImmutableByteArray concat(byte b, ImmutableByteArray b1)
public static ImmutableByteArray make(String s)
Copyright © 2015. All rights reserved.