rand

package
v0.0.0-...-6b17055 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes16Bit

func Bytes16Bit() []byte

func CalculateHash

func CalculateHash(img image.Image) string

func LByteStrings

func LByteStrings(length int) []byte

func LBytes

func LBytes(length int) ([]byte, error)

func LNumbers

func LNumbers() int

func LStrings

func LStrings(length int) string

LStrings 生成指定长度的字符串

func LzwStrings

func LzwStrings(length int) string

LzwStrings 生成指定长度的字符串,返回 lzw 压缩后的字符串

func ModifyIconHash

func ModifyIconHash(inputFile, outputFile string, maxColorChange, count int) error

func RNumbers

func RNumbers() int

func RStrings

func RStrings() string

RStrings 生成随机长度(2-18)的字符串

func ZstdStrings

func ZstdStrings(length int) string

ZstdStrings 生成指定长度的字符串,返回 zstd 压缩后的字符串

Types

This section is empty.

Jump to

Keyboard shortcuts

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