convert

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinDec

func BinDec(b string) (n int64)

Binary to decimal

func BinHex

func BinHex(b string) string

Binary to hexadecimal

func BinOct

func BinOct(b string) int64

Binary to octal

func DecBin

func DecBin(n int64) string

Decimal to binary

func DecHex

func DecHex(n int64) string

Decimal to hexadecimal

func DecOct

func DecOct(d int64) int64

Decimal to octal

func HexBin

func HexBin(h string) string

Hexadecimal to binary

func HexDec

func HexDec(h string) (n int64)

Hexadecimal to decimal

func OctBin

func OctBin(o int64) string

Octal to binary

func OctDec

func OctDec(o int64) (n int64)

Octal to decimal

Types

This section is empty.

Jump to

Keyboard shortcuts

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