| ... | ... | @@ -957,8 +957,8 @@ pub fn peekDelimiterExclusive(r: *Reader, delimiter: u8) DelimiterError![]u8 { |
| 957 | 957 | return result[0 .. result.len - 1]; |
| 958 | 958 | } |
| 959 | 959 | |
| 960 | | /// Appends to `w` contents by reading from the stream until `delimiter` is |
| 961 | | /// found. Does not write the delimiter itself. |
| 960 | /// Appends to `w` contents by reading from the stream until `delimiter` is found. |
| 961 | /// Does not write the delimiter itself. |
| 962 | 962 | /// |
| 963 | 963 | /// Does not discard the delimiter from the `Reader`. |
| 964 | 964 | /// |
| ... | ... | @@ -983,6 +983,8 @@ pub fn streamDelimiter(r: *Reader, w: *Writer, delimiter: u8) StreamError!usize |
| 983 | 983 | /// Appends to `w` contents by reading from the stream until `delimiter` is found. |
| 984 | 984 | /// Does not write the delimiter itself. |
| 985 | 985 | /// |
| 986 | /// Does not discard the delimiter from the `Reader`. |
| 987 | /// |
| 986 | 988 | /// Returns number of bytes streamed, which may be zero. If the stream reaches |
| 987 | 989 | /// the end, the reader buffer will be empty when this function returns. |
| 988 | 990 | /// Otherwise, it will have at least one byte buffered, starting with the |