diff options
Diffstat (limited to 'std/strings/decode.ts')
-rw-r--r-- | std/strings/decode.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/std/strings/decode.ts b/std/strings/decode.ts deleted file mode 100644 index 2e161d7af..000000000 --- a/std/strings/decode.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** A default TextDecoder instance */ -export const decoder = new TextDecoder(); - -/** Shorthand for new TextDecoder().decode() */ -export function decode(input?: Uint8Array): string { - return decoder.decode(input); -} |