scale

package
v0.0.0-...-4675295 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsciiToIndex

func AsciiToIndex(char uint) uint

func DecimalArrTo

func DecimalArrTo(nums []int, n int) []string

func DecimalTo

func DecimalTo(num, n int) string

DecimalTo 10进制转任意进制 n

func Findkey

func Findkey(in string) int

Findkey map根据value找key

func GetVisibleASCII

func GetVisibleASCII() []string

func RandString

func RandString(size int, n int) string

RandString 生成随机字符串

func ToDecimal

func ToDecimal(num string, n int) int

ToDecimal n进制转化成10进制

func ToDecimalArr

func ToDecimalArr(nums []string, n int) []int

Types

type ConfuseRule

type ConfuseRule struct {
	// contains filtered or unexported fields
}

func NewConfuseRule

func NewConfuseRule(seed int64, n int) (obj *ConfuseRule)

func (*ConfuseRule) ConfuseToNormal

func (rule *ConfuseRule) ConfuseToNormal(normal uint8) uint8

func (*ConfuseRule) NormalToConfuse

func (rule *ConfuseRule) NormalToConfuse(normal uint8) uint8

Jump to

Keyboard shortcuts

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