@Override
    public byte convertToByte(CharSequence value) {
        if (value instanceof AsciiString && value.length() == 1) {
            return ((AsciiString) value).byteAt(0);
        }
        return Byte.parseByte(value.toString());
    }
@Test
    public void testByteFromAsciiString() {
        assertEquals(127, converter.convertToByte(AsciiString.of("127")));
    }