Skip to content

Update fs.read() documentation for clarity on length argument

This change clarifies the behavior of the length argument in the fs.read() method, explaining that the actual number of bytes read (bytesRead) may be less than the specified length for various reasons such as EOF or reading from a slow network filesystem. It also notes the necessity of looping for a specific minimum number of bytes.

Merge request reports

Loading