@Override
    public void serialize(Asn1OutputStream out, String value) {
        out.write(BCD.encode(value));
    }
@Test
    public void shouldSerialize() {
        assertArrayEquals(
            new byte[] { 0x01, 0x12 },
            serialize(new BcdAsStringConverter(), String.class, "0112")
        );
    }