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