diff options
author | Matthew Miller <matthew@millerti.me> | 2020-05-22 15:24:06 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-05-22 15:24:06 -0700 |
commit | fe68bbcf520250b624fbea5ff33ca99988e7f9db (patch) | |
tree | 8fd23ad526c4e7f3a49c42354355823744057ee2 /packages/browser/src/helpers | |
parent | 8a464cdfdd9bb707aa0525b414c00342f58fd94d (diff) |
Clarify usage of toUint8Array
Diffstat (limited to 'packages/browser/src/helpers')
-rw-r--r-- | packages/browser/src/helpers/toUint8Array.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/browser/src/helpers/toUint8Array.ts b/packages/browser/src/helpers/toUint8Array.ts index a807a88..ed4aa5d 100644 --- a/packages/browser/src/helpers/toUint8Array.ts +++ b/packages/browser/src/helpers/toUint8Array.ts @@ -1,6 +1,6 @@ /** - * A helper method to convert a string sent from the server to a Uint8Array the authenticator will - * expect. + * A helper method to convert an arbitrary string sent from the server to a Uint8Array the + * authenticator will expect. */ export default function toUint8Array(value: string): Uint8Array { return Uint8Array.from(value, c => c.charCodeAt(0)); |