Function read_n_bytes_from_stream

  • Blocks the runtime until N bytes are read from a readable stream

    Parameters

    • readable: any

      Readable stream to read from

    • n: number

      Number of bytes to read

    Returns any