utils

package
v0.0.0-...-eb4623f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EncPool = sync.Pool{
		New: func() interface{} {
			enc, _ := zstd.NewWriter(nil)
			return enc
		},
	}
	DecPool = sync.Pool{
		New: func() interface{} {
			dec, _ := zstd.NewReader(nil)
			return dec
		},
	}
)

Functions

func B2S

func B2S(b []byte) string

func ClearPrefixZero

func ClearPrefixZero(d []byte) []byte

func S2B

func S2B(s string) []byte

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL