Convert attachments to filePointers for backup export

This commit is contained in:
trevor-signal
2024-05-15 10:55:20 -04:00
committed by GitHub
parent ad94fef92d
commit 6f7545926a
10 changed files with 876 additions and 194 deletions

View File

@@ -8,6 +8,9 @@ const bytes = globalThis.window?.SignalContext?.bytes || new Bytes();
export function fromBase64(value: string): Uint8Array {
return bytes.fromBase64(value);
}
export function fromBase64url(value: string): Uint8Array {
return bytes.fromBase64url(value);
}
export function fromHex(value: string): Uint8Array {
return bytes.fromHex(value);