package
Version:
v0.0.0-...-d88b78f
Opens a new window with list of versions in this module.
Published: Sep 15, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Compress(original []byte) ([]byte, error)
-
func Decompress(compressed []byte) ([]byte, error)
-
func Get(mask uint64, position int) bool
-
func GetRange(mask uint64, start, end int) uint64
-
func Set(mask uint64, position int, flag bool) uint64
-
func SetRange(mask uint64, start, end, value int) uint64
Compress compresses the input data using DEFLATE algorithm.
Decompress decompresses the input data using DEFLATE algorithm.
start부터 end까지의 비트를 반환하는 함수
start부터 end까지의 비트를 설정하는 함수
Source Files
¶
Click to show internal directories.
Click to hide internal directories.