File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ decoder.write(Buffer.from([0x82]));
42
42
console .log (decoder .end (Buffer .from ([0xAC ])));
43
43
```
44
44
45
- ## Class: StringDecoder
45
+ ## Class: ` StringDecoder `
46
46
47
- ### new StringDecoder(\ [ encoding\] )
47
+ ### ` new StringDecoder([encoding]) `
48
48
<!-- YAML
49
49
added: v0.1.99
50
50
-->
@@ -54,7 +54,7 @@ added: v0.1.99
54
54
55
55
Creates a new ` StringDecoder ` instance.
56
56
57
- ### stringDecoder.end(\ [ buffer\] )
57
+ ### ` stringDecoder.end([buffer]) `
58
58
<!-- YAML
59
59
added: v0.9.3
60
60
-->
@@ -70,7 +70,7 @@ substitution characters appropriate for the character encoding.
70
70
If the ` buffer ` argument is provided, one final call to ` stringDecoder.write() `
71
71
is performed before returning the remaining input.
72
72
73
- ### stringDecoder.write(buffer)
73
+ ### ` stringDecoder.write(buffer) `
74
74
<!-- YAML
75
75
added: v0.1.99
76
76
changes:
You can’t perform that action at this time.
0 commit comments