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

Constructors

Methods

Constructors

Methods

  • Create a readable stream from the underlying reader.

    Parameters

    • Optional options: 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>

Copyright © 2022-2024, The Apache Software Foundation. Apache OpenDAL, OpenDAL, and Apache are either registered trademarks or trademarks of the Apache Software Foundation.