MCPcopy Create free account
hub / github.com/apache/arrow-rs / as_slice_mut

Method as_slice_mut

arrow-buffer/src/buffer/mutable.rs:518–520  ·  view source on GitHub ↗

Returns the data stored in this buffer as a mutable slice.

(&mut self)

Source from the content-addressed store, hash-verified

516
517 /// Returns the data stored in this buffer as a mutable slice.
518 pub fn as_slice_mut(&mut self) -> &mut [u8] {
519 self
520 }
521
522 /// Returns a raw pointer to this buffer's internal memory
523 /// This pointer is guaranteed to be aligned along cache-lines.

Callers 2

typed_data_mutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected