Convert attachments to filePointers for backup export
This commit is contained in:
parent
ad94fef92d
commit
6f7545926a
10 changed files with 876 additions and 194 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue