encoding

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 4 Imported by: 1

README

Encoding library

Go Report Card codecov

Candidate functions :

Func Name Prototype Description Comments
AsciiToString AsciiToString(intArr []int) string {} Converts array of ASCII values to a string N/A
DecodeBase64 DecodeBase64(str string) []int {} Decodes a base64 string to ASCII values N/A
DecodeGob DecodeGob(intArr []int) string Decodes a gob int array to a string N/A
DecodeHex DecodeHex(str string) []int {} Decodes a hex string to ASCII values N/A
EncodeBase64 EncodeBase64(intArr []int) string Encodes ASCII values to a base64 string N/A
EncodeGob EncodeGob(str string) []int Encodes string to a gob int array N/A
EncodeHex EncodeHex(intArr []int) string Encodes ASCII values to a hex string N/A
StringToAscii StringToAscii(str string) []int {} Converts string to ASCII values N/A

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsciiToString

func AsciiToString(intArr []int) string

AsciiToString converts an array of ASCII values to a string

func DecodeBase64

func DecodeBase64(str string) []int

DecodeBase64 decodes a base64 string to an array of ASCII values

func DecodeGob

func DecodeGob(intArr []int) string

DecodeGob decodes a gob int array to a string

func DecodeHex

func DecodeHex(str string) []int

DecodeHex decodes a hex string to an array of ASCII values

func EncodeBase64

func EncodeBase64(intArr []int) string

EncodeBase64 encodes an array of ASCII values to a base64 string

func EncodeGob

func EncodeGob(str string) []int

EncodeGob encodes a string to a gob int array

func EncodeHex

func EncodeHex(intArr []int) string

EncodeHex encodes an array of ASCII values to a hex string

func StringToAscii

func StringToAscii(str string) []int

StringToAscii converts a string to an array of ASCII values

Types

This section is empty.

Jump to

Keyboard shortcuts

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