happy-opfs
    Preparing search index...

    Interface ReadSyncOptions

    Options for reading files synchronously.

    interface ReadSyncOptions {
        encoding?: FileSyncEncoding;
    }
    Index

    Properties

    Properties

    encoding?: FileSyncEncoding

    The encoding to use for reading the file's content. Excludes 'stream' since ReadableStream cannot be returned synchronously.

    'bytes'