byteconv

package
v0.3.32 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteToGB

func ByteToGB(input int64) float64

ByteToGB 将 字节 转换为 GB

func ByteToGiB added in v0.3.26

func ByteToGiB(input int64) float64

ByteToGiB 将 字节 转换为 GiB

func ByteToKB added in v0.3.27

func ByteToKB(input int64) float64

ByteToKB 将 字节 转换为 KB

func ByteToKiB added in v0.3.27

func ByteToKiB(input int64) float64

ByteToKiB 将 字节 转换为 KiB

func ByteToMB added in v0.3.27

func ByteToMB(input int64) float64

ByteToMB 将 字节 转换为 MB

func ByteToMiB added in v0.3.27

func ByteToMiB(input int64) float64

ByteToMiB 将 字节 转换为 MiB

func GBToByte

func GBToByte(input int64) int64

GBToByte 将 GB 转换为 字节

func GiBToByte added in v0.3.26

func GiBToByte(input int64) int64

GiBToByte 将 GiB 转换为 字节

func KBToByte added in v0.3.27

func KBToByte(input int64) int64

KBToByte 将 KB 转换为 字节

func KiBToByte added in v0.3.27

func KiBToByte(input int64) int64

KiBToByte 将 KiB 转换为 字节

func MBToByte added in v0.3.27

func MBToByte(input int64) int64

MBToByte 将 MB 转换为 字节

func MiBToByte added in v0.3.27

func MiBToByte(input int64) int64

MiBToByte 将 MiB 转换为 字节

Types

This section is empty.

Jump to

Keyboard shortcuts

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