utils

package
v1.15.5 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TABLE = []uint16{}/* 256 elements not displayed */

Functions

func AnyToCell

func AnyToCell(i any) (*boc.Cell, error)

func Crc16

func Crc16(data []byte) uint16

func Crc16String

func Crc16String(data string) uint16

func Crc32String

func Crc32String(data string) uint32

Crc32String returns a crc32 checksum of a string. Crc32String(value) returns the same uint32 as FunC's "<value>"c string literal.

func GetOrderedKeys

func GetOrderedKeys[M ~map[K]V, K constraints.Ordered, V any](m M) []K

func HumanFriendlyCoinsRepr

func HumanFriendlyCoinsRepr(amount int64) string

func MethodIdFromName

func MethodIdFromName(methodName string) int

func ToCamelCase

func ToCamelCase(s string) string

func ToCamelCasePrivate

func ToCamelCasePrivate(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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