类 CodeByteHexUtils

java.lang.Object
com.abasecode.opencode.base.safe.util.CodeByteHexUtils

public class CodeByteHexUtils extends Object
作者:
Jon e-mail: ijonso123@gmail.com url: Jon's blog url: project github url: AbaseCode.com
  • 构造器详细资料

    • CodeByteHexUtils

      public CodeByteHexUtils()
  • 方法详细资料

    • getByteFromHexString

      public static byte[] getByteFromHexString(String hexString)
      HexString 2 byte[]
      参数:
      hexString -
      返回:
      result
    • getByteFromBase64String

      public static byte[] getByteFromBase64String(String base64String)
      BASE64 String 2 byte[]
      参数:
      base64String -
      返回:
      result
    • getHexString

      public static String getHexString(byte[] sourceByte)
      byte[] 2 HexString
      参数:
      sourceByte -
      返回:
      result
    • getBase64tring

      public static String getBase64tring(byte[] sourceByte)
      byte[] 2 BASE64 String
      参数:
      sourceByte -
      返回:
      result