Skip to content

Commit 37dfdf3

Browse files
committed
doc: encoding spec links
1 parent 173747c commit 37dfdf3

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ See [the list of encodings](https://encoding.spec.whatwg.org/#names-and-labels).
9292

9393
### `@exodus/bytes/single-byte.js`
9494

95+
Decode the legacy single-byte encodings according to the [Encoding standard](https://encoding.spec.whatwg.org/)
96+
([§9](https://encoding.spec.whatwg.org/#legacy-single-byte-encodings)).
97+
9598
##### `createSinglebyteDecoder(encoding, loose = false)`
9699

97100
Create a decoder for a supported one-byte `encoding`.
@@ -100,6 +103,12 @@ Returns a function `decode(arr)` that decodes bytes to a string.
100103

101104
### `@exodus/bytes/multi-byte.js`
102105

106+
Decode the legacy multi-byte encodings according to the [Encoding standard](https://encoding.spec.whatwg.org/)
107+
([§10](https://encoding.spec.whatwg.org/#legacy-multi-byte-chinese-(simplified)-encodings),
108+
[§11](https://encoding.spec.whatwg.org/#legacy-multi-byte-chinese-(traditional)-encodings),
109+
[§12](https://encoding.spec.whatwg.org/#legacy-multi-byte-japanese-encodings),
110+
[§13](https://encoding.spec.whatwg.org/#legacy-multi-byte-korean-encodings)).
111+
103112
##### `createMultibyteDecoder(encoding, loose = false)`
104113

105114
Create a decoder for a supported legacy multi-byte `encoding`.

0 commit comments

Comments
 (0)