Registry / utility / getlantern-hex

getlantern-hex

JSON →
library0.0.0-20220104173244-ad7e4b9194dcgogounverified

Package hex provides hexadecimal encoding and decoding with customizable encoding characters, based on Go's standard encoding/hex.

go get github.com/getlantern/hex
INSTALL
IMPORT
SIG · GETLANTERN-HEX
G
getlantern-hex
utilitygov0.0.0-20220104173244-ad7e4b9194dc
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hex
✓ github.com/getlantern/hex

Encode a byte slice to a custom hexadecimal string.

package main import ( "fmt" "github.com/getlantern/hex" ) func main() { encoded := hex.EncodeToString([]byte("hello")) fmt.Println(encoded) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20220104173244-ad7e4b9194dclatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
getlantern-hex — go get getlantern-hex · libregistry