lib

package
v0.0.0-...-bab0e55 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: GPL-3.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Encodings = []Encoding{
	{"ISO-8859-1", 1},
	{"UTF-16", 2},
	{"UTF-16BE", 2},
	{"UTF-8", 1},
}

Functions

func ByteToInt

func ByteToInt(b []byte) int

func HumanBinarySize

func HumanBinarySize(n int) string

func HumanDecimalSize

func HumanDecimalSize(n int) string

func ToUTF8

func ToUTF8(data []byte, enc Encoding) string

Types

type Encoding

type Encoding struct {
	Title string
	Size  int
}

Jump to

Keyboard shortcuts

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