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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 876 additions and 194 deletions

View file

@ -8,6 +8,10 @@ export class Bytes {
return Buffer.from(value, 'base64');
}
public fromBase64url(value: string): Uint8Array {
return Buffer.from(value, 'base64url');
}
public fromHex(value: string): Uint8Array {
return Buffer.from(value, 'hex');
}