-
Notifications
You must be signed in to change notification settings - Fork 8
/
BrowserStringUtils.yml
82 lines (78 loc) · 2.37 KB
/
BrowserStringUtils.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
### YamlMime:TSType
name: BrowserStringUtils
uid: '@azure/msal-browser.BrowserStringUtils'
package: '@azure/msal-browser'
summary: >-
Utility functions for strings in a browser. See here for implementation
details:
https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding#Solution_2_%E2%80%93_JavaScript's_UTF-16_%3E_UTF-8_%3E_base64
fullName: BrowserStringUtils
remarks: ''
isPreview: false
isDeprecated: false
type: class
methods:
- name: getSortedObjectString(object)
uid: '@azure/msal-browser.BrowserStringUtils.getSortedObjectString'
package: '@azure/msal-browser'
summary: Returns stringified jwk.
remarks: ''
isPreview: false
isDeprecated: false
syntax:
content: 'static function getSortedObjectString(obj: object): string'
parameters:
- id: obj
type: object
description: ''
return:
description: ''
type: string
- name: stringToArrayBuffer(string)
uid: '@azure/msal-browser.BrowserStringUtils.stringToArrayBuffer'
package: '@azure/msal-browser'
summary: Converst string to ArrayBuffer
remarks: ''
isPreview: false
isDeprecated: false
syntax:
content: 'static function stringToArrayBuffer(dataString: string): ArrayBuffer'
parameters:
- id: dataString
type: string
description: |+
return:
description: ''
type: ArrayBuffer
- name: stringToUtf8Arr(string)
uid: '@azure/msal-browser.BrowserStringUtils.stringToUtf8Arr'
package: '@azure/msal-browser'
summary: Converts string to Uint8Array
remarks: ''
isPreview: false
isDeprecated: false
syntax:
content: 'static function stringToUtf8Arr(sDOMStr: string): Uint8Array'
parameters:
- id: sDOMStr
type: string
description: |+
return:
description: ''
type: Uint8Array
- name: utf8ArrToString(Uint8Array)
uid: '@azure/msal-browser.BrowserStringUtils.utf8ArrToString'
package: '@azure/msal-browser'
summary: Converts Uint8Array to a string
remarks: ''
isPreview: false
isDeprecated: false
syntax:
content: 'static function utf8ArrToString(aBytes: Uint8Array): string'
parameters:
- id: aBytes
type: Uint8Array
description: |+
return:
description: ''
type: string