feat(bytes): 添加ByteBuffer工具类和ByteFlags数据结构

- 新增ByteBufferUtils.kt文件,提供字符串、布尔值、位标志等类型的读写扩展函数
- 新增ByteFlags.kt文件,实现8位布尔标志集合的数据结构和位操作功能
- 添加putString/getString方法支持C风格字符串的null终止符处理
- 实现ByteFlags的位操作功能,包括AND、OR、XOR、NOT等运算
- 添加二进制字符串、十六进制字符串的转换和格式化输出功能
- 移除NettyUtils中重复的toByteBuffer扩展函数
- 更新项目版本号从4.2.6到4.2.7
This commit is contained in:
2026-01-07 10:07:48 +08:00
parent 2bcd4b329c
commit 2db24530d6
4 changed files with 668 additions and 12 deletions
+2 -2
View File
@@ -16,13 +16,13 @@
# ProjectName mingli-utils
# ModuleName mingli-utils
# CurrentFile gradle.properties
# LastUpdate 2026-01-06 14:35:41
# LastUpdate 2026-01-07 10:02:36
# UpdateUser MingLiPro
#
JDKVERSIONS=1.8
GROUPSID=com.mingliqiye.utils
ARTIFACTID=mingli-utils
VERSIONS=4.2.6
VERSIONS=4.2.7
signing.keyId=B22AA93B
signing.password=
signing.secretKeyRingFile=secret.gpg