private static final class ByteString.ArraysByteArrayCopier extends java.lang.Object implements ByteString.ByteArrayCopier
ByteArrayCopier which uses Arrays.copyOfRange(T[], int, int).| Modifier | Constructor and Description |
|---|---|
private |
ArraysByteArrayCopier() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
copyFrom(byte[] bytes,
int offset,
int size)
Copies the specified range of the specified array into a new array
|
public byte[] copyFrom(byte[] bytes,
int offset,
int size)
ByteString.ByteArrayCopiercopyFrom in interface ByteString.ByteArrayCopier