Advances the cursor by `n` bytes.
(&mut self, n: usize)
| 325 | |
| 326 | /// Advances the cursor by `n` bytes. |
| 327 | pub fn advance(&mut self, n: usize) { |
| 328 | self.buf = &self.buf[n..] |
| 329 | } |
| 330 | } |
| 331 | |
| 332 | /// Constructs an error indicating that the client has violated the pgwire |