summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src/helpers/asciiToBinary.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-06-05 17:54:47 -0700
committerMatthew Miller <matthew@millerti.me>2020-06-05 17:54:47 -0700
commit1683e99a6e6a33bd6737240ca6bbc8a9d64b798b (patch)
tree0295a14f0b6337a5cfb5999195e56dac5d262369 /packages/server/src/helpers/asciiToBinary.ts
parentb4c1bae58a11f7651dd44b7cfc7ba210ef09a605 (diff)
Replace asciiToBinary with more base64url usage
Diffstat (limited to 'packages/server/src/helpers/asciiToBinary.ts')
-rw-r--r--packages/server/src/helpers/asciiToBinary.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/server/src/helpers/asciiToBinary.ts b/packages/server/src/helpers/asciiToBinary.ts
deleted file mode 100644
index beb6f1d..0000000
--- a/packages/server/src/helpers/asciiToBinary.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Decode a base64-encoded string to a binary string
- *
- * @param input Base64-encoded string
- */
-export default function asciiToBinary(input: string): string {
- return Buffer.from(input, 'base64').toString('binary');
-}