(buf: &mut Cursor)
| 603 | } |
| 604 | |
| 605 | fn read_until_comma(buf: &mut Cursor) -> Result<Vec<u8>, io::Error> { |
| 606 | let mut v = Vec::new(); |
| 607 | while let Ok(b) = buf.peek_byte() { |
| 608 | if b == b',' { |
| 609 | break; |
| 610 | } |
| 611 | v.push(buf.read_byte()?); |
| 612 | } |
| 613 | Ok(v) |
| 614 | } |
| 615 | |
| 616 | // All SASL parsing is based on RFC 5802, [section 7](https://datatracker.ietf.org/doc/html/rfc5802#section-7) |
| 617 |
no test coverage detected