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

Method is_empty

arrow-buffer/src/buffer/mutable.rs:482–484  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

480 /// Returns whether this buffer is empty or not.
481 #[inline]
482 pub const fn is_empty(&self) -> bool {
483 self.len == 0
484 }
485
486 /// Returns the length (the number of bytes written) in this buffer.
487 /// The invariant `buffer.len() <= buffer.capacity()` is always upheld.

Callers 1

repeat_slice_n_timesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected