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 67eba23 commit 143e533Copy full SHA for 143e533
src/codec.ts
@@ -25,7 +25,7 @@ const decodeString: (string: string | Uint8Array) => string = string => {
25
}
26
27
const encodeFlex: (buffer: Uint8Array) => number[] = buffer => {
28
- return Array.from(buffer)
+ return [...buffer]
29
30
31
const decodeFlex: (flex: number[]) => Uint8Array = flex => {
0 commit comments