Don't break =
This commit is contained in:
committed by
Toby Schneider
parent
e49bada1a5
commit
38b8c3e2d3
@@ -23,7 +23,7 @@ export function base64StringToArrayBuffer(b64str: string): ArrayBuffer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function textToArrayBuffer(str: string): ArrayBuffer {
|
export function textToArrayBuffer(str: string): ArrayBuffer {
|
||||||
return byteStringToBytes(decodeURI(encodeURIComponent(str)))
|
return byteStringToBytes(str)
|
||||||
}
|
}
|
||||||
|
|
||||||
export function arrayBufferToText(arrayBuffer: ArrayBuffer): string {
|
export function arrayBufferToText(arrayBuffer: ArrayBuffer): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user