Skip to content

fs: make read parameters optional #31237

@ronag

Description

@ronag

At least in the promisifed version the parameters after fd should be optional, i.e:

function read(fd, buffer = new Buffer(16384), offset = 0, length = buffer.length, position = null);

The non promisified is a bitter more tricky but should be doable as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions