We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0d3cb0 commit 9d0169fCopy full SHA for 9d0169f
src/StringDecoder.re
@@ -1,12 +1,6 @@
1
type t;
2
[@bs.new] [@bs.module "string_decoder"]
3
-external make:
4
- (
5
- [@bs.string]
6
- [ | `hex | `utf8 | `ascii | `latin1 | `base64 | `ucs2 | `base64 | `binary | `utf16le]
7
- ) =>
8
- t =
9
- "StringDecoder";
+external make: StringEncoding.t => t = "StringDecoder";
10
[@bs.send] external end_: t => string = "end";
11
[@bs.send] external writeEnd: (t, Buffer.t) => string = "end";
12
[@bs.send] external write: (t, Buffer.t) => string = "write";
0 commit comments