Apache OpenDAL™ - v0.48.1
    Preparing search index...

    Class Reader

    Reader is designed to read data from a given path in an asynchronous manner.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Create a readable stream from the underlying reader.

      Parameters

      • Optionaloptions: ReadableOptions

      Returns Readable

    • Safety

      &mut self in async napi methods should be marked as unsafe

      Read bytes from this reader into given buffer.

      Parameters

      • buf: Buffer

      Returns Promise<bigint>