@Override
            public Byte[] convertFromString(Class<? extends Byte[]> cls, String str) {
                if (str.length() == 0) {
                    return EMPTY;
                }
                if (str.length() % 2 == 1) {
                    throw new IllegalArgumentException("Invalid Byte[] string");
                }
                Byte[] array = new Byte[str.length() / 2];
                for (int i = 0; i < array.length; i++) {
                    String in = str.substring(i * 2, i * 2 + 2);
                    if (in.equals("--")) {
                        array[i] = null;
                    } else {
                        array[i] = (byte) Integer.parseInt(in, 16);
                    }
                }
                return array;
            }