- 大小端byte数组和各种数据类型的互转的工具类EndianUtils;
- 参照ArrayList实现一个能添加任意数据类型的ByteArrayList;
- 将Java的byte数组分段解析为所需数据的工具类BytesReader;
- 使用树结构的方式对Java的byte数组进行快速解析和构建;
For more information please see:
大小端byte数组和各种数据类型的互转
参照ArrayList实现一个能添加任意数据类型的ByteArrayList
将Java的byte数组分段解析为所需数据的工具类BytesReader
使用树结构的方式对Java的byte数组进行快速解析和构建
Add this in your root build.gradle file (not your module build.gradle file):
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
Then, add the library to your module build.gradle
dependencies {
compile 'com.github.NessCurie:BytesUtils:latest.release.here'
}
such as release is 1.0
you can use:
dependencies {
compile 'com.github.NessCurie:BytesUtils:1.0'
}