Registry / utility / ssor-bom

ssor-bom

JSON →
library0.0.0-20170718123548-6386211fdfcfgogounverified

Package bom provides utilities for handling byte order marks (BOM) in text data.

go get github.com/ssor/bom
INSTALL
IMPORT
SIG · SSOR-BOM
S
ssor-bom
utilitygov0.0.0-20170718123548-6386211fdfcf
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.

bom
github.com/ssor/bom

Remove BOM from a byte slice.

package main import ( "fmt" "github.com/ssor/bom" ) func main() { cleaned := bom.CleanBOM([]byte("\xef\xbb\bfhello")) fmt.Println(string(cleaned)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20170718123548-6386211fdfcflatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Amazon
1
Resources
ssor-bom — go get ssor-bom · libregistry