encoding

package
v0.0.0-...-ddae3e6 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 13 Imported by: 1

Documentation

Overview

package encoding contains all the encoding functions

Index

Constants

View Source
const BinaryData = "binary"

Variables

This section is empty.

Functions

func DecodeBytes

func DecodeBytes(contentBytes []byte) (string, string, error)

DecodeBytes converts a byte array to a string

func IsBinaryFile

func IsBinaryFile(rawFileContent []byte) bool

IsBinaryFile returns true if the bytes contain \x00-\x08,\x0b,\x0e-\x1f

Types

This section is empty.

Jump to

Keyboard shortcuts

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