From ae0c51aaebdb9d20e0d15ec21cb343b55f194418 Mon Sep 17 00:00:00 2001 From: ivanovSPvirtru Date: Wed, 6 Sep 2023 11:41:41 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20=F0=9F=8E=A8=20Autoformat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/tdf3/src/binary.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/tdf3/src/binary.ts b/lib/tdf3/src/binary.ts index 1579825c..28753644 100644 --- a/lib/tdf3/src/binary.ts +++ b/lib/tdf3/src/binary.ts @@ -99,7 +99,7 @@ class ArrayBufferBinary extends Binary { override asB64(): string { const uint8Array = new Uint8Array(this.value); - return window.btoa([...uint8Array].map(byte => String.fromCharCode(byte)).join('')); + return window.btoa([...uint8Array].map((byte) => String.fromCharCode(byte)).join('')); } override isArrayBuffer(): boolean { @@ -140,7 +140,7 @@ class ByteArrayBinary extends Binary { override asB64(): string { const uint8Array = new Uint8Array(this.value); - return window.btoa([...uint8Array].map(byte => String.fromCharCode(byte)).join('')); + return window.btoa([...uint8Array].map((byte) => String.fromCharCode(byte)).join('')); } override isByteArray(): boolean { @@ -189,7 +189,7 @@ class StringBinary extends Binary { override asB64(): string { const uint8Array: Uint8Array = new TextEncoder().encode(this.value); - return window.btoa([...uint8Array].map(byte => String.fromCharCode(byte)).join('')); + return window.btoa([...uint8Array].map((byte) => String.fromCharCode(byte)).join('')); } override isString(): boolean {