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

Method into_contiguous

src/ore/src/bytes.rs:112–114  ·  view source on GitHub ↗

Copies all of the bytes from `self` returning one contiguous blob.

(mut self)

Source from the content-addressed store, hash-verified

110
111 /// Copies all of the bytes from `self` returning one contiguous blob.
112 pub fn into_contiguous(mut self) -> Vec<u8> {
113 self.copy_to_bytes(self.remaining()).into()
114 }
115
116 /// Extends the buffer by one more segment of [`Bytes`].
117 ///

Callers

nothing calls this directly

Calls 2

copy_to_bytesMethod · 0.80
remainingMethod · 0.45

Tested by

no test coverage detected