This repository contains some of the more commonly used byte utility methods used our libraries. It also contains a Base64 implementation.
Releases are pushed to mavenCentral. To include hmkit-oem in your project, add to build.gradle:
repositories {
mavenCentral()
}
dependencies {
implementation 'com.high-mobility:hmkit-utils:1.4.5'
}
Find the latest version names in mavenCentral
Convenience methods are in ByteUtils class as static methods. For example you could use
public static String hexFromBytes(byte[] bytes)
and
public static byte[] bytesFromHex(String s)
Base64 encoder/decoder is in Base64.java