summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/ssor/bom/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/ssor/bom/README.md')
-rw-r--r--vendor/github.com/ssor/bom/README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/github.com/ssor/bom/README.md b/vendor/github.com/ssor/bom/README.md
new file mode 100644
index 000000000..2dcc289ff
--- /dev/null
+++ b/vendor/github.com/ssor/bom/README.md
@@ -0,0 +1,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))
+
+``` \ No newline at end of file