#[no_mangle]
pub const extern "C" fn nstd_core_slice_empty(
    stride: NSTDUInt
) -> NSTDSlice
Available on crate feature core only.
Expand description

Creates a new empty slice with a given stride.

Parameters:

  • NSTDUInt stride - The number of bytes each element occupies.

Returns

NSTDSlice slice - The new empty slice.