mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
14 lines
401 B
Text
14 lines
401 B
Text
![]() |
#import <FileAPI/Blob.idl>
|
||
|
|
||
|
// https://w3c.github.io/FileAPI/#FileReaderSync
|
||
|
[Exposed=(DedicatedWorker,SharedWorker)]
|
||
|
interface FileReaderSync {
|
||
|
constructor();
|
||
|
// Synchronously return strings
|
||
|
|
||
|
ArrayBuffer readAsArrayBuffer(Blob blob);
|
||
|
DOMString readAsText(Blob blob, optional DOMString encoding);
|
||
|
DOMString readAsBinaryString(Blob blob);
|
||
|
DOMString readAsDataURL(Blob blob);
|
||
|
};
|