MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / len_bytes

Method len_bytes

src/buffer.rs:225–227  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

223 /// For non-contiguous arrays, it is the length that the logical structure would have if it were copied to a contiguous representation.
224 #[inline]
225 pub fn len_bytes(&self) -> usize {
226 self.0.len as usize
227 }
228
229 /// Gets the number of dimensions.
230 ///

Callers 2

copy_to_slice_implMethod · 0.80
copy_from_slice_implMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected