system

package
v0.0.0-...-714bc2e Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Number

type Number interface {
	// ToBin 二进制
	ToBin() string
	// ToDec 十进制
	ToDec() uint64
	// ToHex 十六进制
	ToHex() string
}

Number .

func NewBinary

func NewBinary(bin string) (Number, error)

NewBinary .

func NewDecimal

func NewDecimal(dec uint64) Number

NewDecimal .

func NewHexadecimal

func NewHexadecimal(hex string) (Number, error)

NewHexadecimal .

Jump to

Keyboard shortcuts

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