go_study/go-for-study/vendor/github.com/ssor/bom
Msy-msu ba621c6934 add two projects 2023-07-02 17:15:59 +08:00
..
BUILD.bazel add two projects 2023-07-02 17:15:59 +08:00
LICENSE add two projects 2023-07-02 17:15:59 +08:00
README.md add two projects 2023-07-02 17:15:59 +08:00
bom.go add two projects 2023-07-02 17:15:59 +08:00

README.md

bom

small tools for cleaning bom from byte array or reader

Installation

$ go get github.com/ssor/bom

How to Use

	bs := []byte{bom0, bom1, bom2, 0x11}
	result := CleanBom(bs)
	bs := []byte{bom0, bom1, bom2, 0x11}
	result := NewReaderWithoutBom(bytes.NewReader(bs))