WebIDLpedia

FileSystemSyncAccessHandle interface

Definition

File System Standard defines FileSystemSyncAccessHandle



[Exposed=DedicatedWorker, SecureContext]
interface FileSystemSyncAccessHandle {
  unsigned long long read(AllowSharedBufferSource buffer,
                          optional FileSystemReadWriteOptions options = {});
  unsigned long long write(AllowSharedBufferSource buffer,
                           optional FileSystemReadWriteOptions options = {});

  undefined truncate([EnforceRange] unsigned long long newSize);
  unsigned long long getSize();
  undefined flush();
  undefined close();
};

Methods and attributes that return objects implementing FileSystemSyncAccessHandle

Referring IDL interfaces/dictionaries