doc: correct the return value of buffer-based readSync #3152

Closed
wants to merge 1 commit into from

2 participants

@shama

Closes #2330

@shama

Updated the commit and corrected my mistake. string-based returns an array and buffer-based returns just the bytes read. Thanks!

@bnoordhuis
Node.js Foundation member

Looks good but can you wrap at 80 characters?

@shama

Updated. Thanks Ben!

@bnoordhuis
Node.js Foundation member

Thanks Kyle, merged in 6ba3e68.

@bnoordhuis bnoordhuis closed this May 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment