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

io.nuls.core.constant.ToolsConstant Maven / Gradle / Ivy

package io.nuls.core.constant;

/**
 * @author tag
 */
public class ToolsConstant {
    /**
     * 系统使用的编码方式
     * The encoding used by the nuls system.
     */
    public static String DEFAULT_ENCODING = "UTF-8";

    /**
     * 48位整型数据长度
     * 48 bit integer entity length.
     */
    public static int INT48_VALUE_LENGTH = 6;

    /**
     * 空值占位符
     * Null placeholder.
     */
    public static byte[] PLACE_HOLDER = new byte[]{(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF};

    /**
     * 脚本标识位
     * Null placeholder.
     */
    public static byte[] SIGN_HOLDER = new byte[]{(byte) 0x00, (byte) 0x00};
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy