|
hace 3 años | |
---|---|---|
.. | ||
.travis.yml | hace 3 años | |
LICENSE | hace 3 años | |
README.md | hace 3 años | |
bom.go | hace 3 años |
small tools for cleaning bom from byte array or reader
$ go get github.com/ssor/bom
bs := []byte{bom0, bom1, bom2, 0x11}
result := CleanBom(bs)
bs := []byte{bom0, bom1, bom2, 0x11}
result := NewReaderWithoutBom(bytes.NewReader(bs))