public class ArrayConcatenator
extends java.lang.Object
Constructor and Description |
---|
ArrayConcatenator() |
Modifier and Type | Method and Description |
---|---|
byte[] |
concatenate(byte[] a,
byte b)
Converts b to an array and concatenates both arrays.
|
byte[] |
concatenate(byte[] a,
byte[] b)
Concatenates the two given arrays.
|
byte[] |
concatenate(byte a,
byte b)
Puts both values into an array
|
byte[] |
concatenate(byte a,
byte[] b)
Converts a to an array and concatenates both arrays.
|
public byte[] concatenate(byte[] a, byte[] b)
a
- first array, may be nullb
- second array, may be nullpublic byte[] concatenate(byte a, byte[] b)
a
- byte valueb
- array, may be nullpublic byte[] concatenate(byte[] a, byte b)
a
- array, may be nullb
- byte valuepublic byte[] concatenate(byte a, byte b)
a
- first byte valueb
- second byte value