mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
FileOpener working
This commit is contained in:
@@ -1066,7 +1066,8 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
||||
b64toBlob(b64Data, contentType, sliceSize) {
|
||||
contentType = contentType || '';
|
||||
sliceSize = sliceSize || 512;
|
||||
var byteCharacters = atob(b64Data);
|
||||
const encodedData = btoa(b64Data);
|
||||
var byteCharacters = atob(encodedData);
|
||||
var byteArrays = [];
|
||||
for (var offset = 0; offset < byteCharacters.length; offset += sliceSize) {
|
||||
var slice = byteCharacters.slice(offset, offset + sliceSize);
|
||||
|
||||
Reference in New Issue
Block a user