class BluetoothBytesParser {

    public static byte[] mergeArrays(byte[]... arrays) {
        int size = 0;
        for (byte[] array : arrays) {
            size += array.length;
        }

        byte[] merged = new byte[size];
        int index = 0;
        for (byte[] array : arrays) {
            System.arraycopy(array, 0, merged, index, array.length);
            index += array.length;
        }

        return merged;
    }

    public  BluetoothBytesParser();
    public  BluetoothBytesParser(ByteOrder byteOrder);
    public  BluetoothBytesParser(byte[] value);
    public  BluetoothBytesParser(byte[] value, ByteOrder byteOrder);
    public  BluetoothBytesParser(byte[] value, int offset);
    public  BluetoothBytesParser(byte[] value, int offset, ByteOrder byteOrder);

}