MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / advance

Method advance

src/pgwire-common/src/codec.rs:327–329  ·  view source on GitHub ↗

Advances the cursor by `n` bytes.

(&mut self, n: usize)

Source from the content-addressed store, hash-verified

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

Callers 7

decodeMethod · 0.45
read_byteMethod · 0.45
read_cstrMethod · 0.45
read_i16Method · 0.45
read_i32Method · 0.45
read_u32Method · 0.45
decodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected