All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.iohao.game.common.kit.adapter.HuHexUtil Maven / Gradle / Ivy

There is a newer version: 21.20
Show newest version
package com.iohao.game.common.kit.adapter;

/**
 * @author 渔民小镇
 * @date 2023-01-19
 */
 class HuHexUtil {
    public static final HuBase16Codec CODEC_LOWER = new HuBase16Codec(true);
    public static final HuBase16Codec CODEC_UPPER = new HuBase16Codec(false);
    public static void appendHex(StringBuilder builder, byte b, boolean toLowerCase) {
        (toLowerCase ? CODEC_LOWER : CODEC_UPPER).appendHex(builder, b);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy