File: README.md

package info (click to toggle)
golang-github-ssor-bom 0.0~git20170718.0.6386211-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, bullseye-backports, forky, sid, trixie
  • size: 72 kB
  • sloc: makefile: 2
file content (23 lines) | stat: -rw-r--r-- 305 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# bom
small tools for cleaning bom from byte array or reader


## Installation

```sh
$ 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))

```