pub fn convert_space_ffi<T: DType, const N: usize>(
from: *const c_char,
to: *const c_char,
pixels: *mut T,
len: usize,
) -> i32where
Channels<N>: ValidChannels,Expand description
Same as convert_space_sliced but with FFI types.
Returns 0 on success, 1 on invalid from, 2 on invalid to, 3 on invalid pixels
len is in elements rather than bytes