Genotype API Documentation - v0.1.0
    Preparing search index...

    Variable FileReaderConst

    FileReader: {
        exists: (path: string) => Promise<boolean>;
        getSize: (path: string) => Promise<number>;
        getMetadata: (path: string) => Promise<FileMetadata>;
        createStream: (
            path: string,
            options?: FileReaderOptions,
        ) => Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>;
        readToString: (
            path: string,
            options?: FileReaderOptions,
        ) => Promise<string>;
    } = ...

    Type Declaration

    • exists: (path: string) => Promise<boolean>
    • getSize: (path: string) => Promise<number>
    • getMetadata: (path: string) => Promise<FileMetadata>
    • createStream: (
          path: string,
          options?: FileReaderOptions,
      ) => Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>
    • readToString: (path: string, options?: FileReaderOptions) => Promise<string>