The Wayback Machine - http://web.archive.org/web/20201124054952/https://github.com/fengzhizi715/bytekit
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Oct 2, 2020
Dec 27, 2018
Nov 19, 2018

README.md

bytekit

@Tony沈哲 on weibo License

功能特点:

  • 支持多种方式创建 Bytes:byte数组、字符串、File、InputStream
  • 支持字节数组、ByteBuffer 的操作
  • 支持 Immutable 对象:ByteArrayBytes、ByteBufferBytes
  • 支持 Transformer: 内置 copy、contact、reverse、xor、and、or、not,也支持自定义 Transformer
  • 支持 Hash: 内置 md5、sha1、sha256
  • 支持 Hmac加密: 内置 HmacMD5、HmacSHA1、HmacSHA256
  • 支持转换成十六进制字符串、十六进制字符串转换成二进制字节数组
  • 支持对象的序列化、反序列化、深拷贝
  • 支持将 Bytes 写入到输出流、文件中
  • 支持 mmap 常用读写操作:readByte/writeByte、readBytes/writeBytes、readInt/writeInt、readLong/writeLong、readDouble/writeDouble、readObject/writeObject

core、mmap 模块不依赖于任何第三方库

最新版本

模块 最新版本
bytekit-core Download
bytekit-mmap Download

下载:

bytekit-core

implementation 'com.safframework.bytekit:bytekit-core:1.2.6'

bytekit-mmap

implementation 'com.safframework.bytekit:bytekit-mmap:1.2.6'

详见:https://www.jianshu.com/p/411462b481b7

联系方式

Wechat:fengzhizi715

Java与Android技术栈:每周更新推送原创技术文章,欢迎扫描下方的公众号二维码并关注,期待与您的共同成长和进步。

License

Copyright (C) 2017 - present, Tony Shen.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.