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.
2 parents ae5a667 + f05dead commit b646be4Copy full SHA for b646be4
jscomp/others/node_buffer.ml
@@ -38,5 +38,8 @@ external fromStringWithEncoding : string -> ([ `ascii | `utf8 | `utf16le | `u
38
external toString : t -> string = "toString"
39
[@@bs.send]
40
41
+external toStringWithEncoding : t -> ([ `ascii | `utf8 | `utf16le | `usc2 | `base64 | `latin1 | `binary | `hex ] [@bs.string]) -> string = "toString"
42
+[@@bs.send]
43
+
44
external concat : t array -> t = "Buffer.concat"
45
[@@bs.val]
0 commit comments