@Override
    public byte convertToByte(String value) {
        if (!value.isEmpty()) {
            return (byte) value.charAt(0);
        }
        return Byte.parseByte(value);
    }
Converts to/from native types, general {@link Object}, and {@link CharSequence}s.
core/src/main/java/com/linecorp/armeria/common/StringValueConverter.java