类 Base62

java.lang.Object
net.apexes.commons.lang.Base62

public class Base62 extends Object
作者:
hedyn
  • 方法详细资料

    • encode

      public static String encode(byte[] bytes)
      将数据编码成 Base62 字符串
      参数:
      bytes - 要编码的数据
      返回:
      返回Base62字符串
    • decode

      public static byte[] decode(String base62)
      将 Base62 字符串解码成byte数组
      参数:
      base62 - 要解码的 Base62 字符串
      返回:
      返回解码后的字节数组