package
Version:
v0.0.0-...-5f9648a
Opens a new window with list of versions in this module.
Published: Dec 15, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package utils is define utils function
B2S use no copy convert byte slice to string
Bytes2Int16 is convert byte slice to int16
Bytes2Timestamp is convert bytes to second timestamp
DecodeGB18030 is decode GB18030
EncodeGB18030 is encode GB18030
S2B use no copy convert string to byte slice
Timestamp2Bytes is convert second timestamp to bytes
SumResult is sum result
Sum is get byte slice sum
Bytes16 is get sum result convert to uint16 byte slice
Equal is compare byte slice sum
Source Files
¶
Click to show internal directories.
Click to hide internal directories.