| ... | @@ -469,15 +469,15 @@ pub fn readVecAll(r: *Reader, data: [][]u8) Error!void { | ... | @@ -469,15 +469,15 @@ pub fn readVecAll(r: *Reader, data: [][]u8) Error!void { |
| 469 | } | 469 | } |
| 470 | } | 470 | } |
| 471 | | 471 | |
| 472 | /// Returns the next `len` bytes from the stream, filling the buffer as | 472 | /// Returns the next `n` bytes from the stream, filling the buffer as |
| 473 | /// necessary. | 473 | /// necessary. |
| 474 | /// | 474 | /// |
| 475 | /// Invalidates previously returned values from `peek`. | 475 | /// Invalidates previously returned values from `peek`. |
| 476 | /// | 476 | /// |
| 477 | /// Asserts that the `Reader` was initialized with a buffer capacity at | 477 | /// Asserts that the `Reader` was initialized with a buffer capacity at |
| 478 | /// least as big as `len`. | 478 | /// least as big as `n`. |
| 479 | /// | 479 | /// |
| 480 | /// If there are fewer than `len` bytes left in the stream, `error.EndOfStream` | 480 | /// If there are fewer than `n` bytes left in the stream, `error.EndOfStream` |
| 481 | /// is returned instead. | 481 | /// is returned instead. |
| 482 | /// | 482 | /// |
| 483 | /// See also: | 483 | /// See also: |