[][src]Function vl53l1_reg::write_slice

pub fn write_slice<I>(
    i2c: &mut I,
    index: Index,
    slice: &[u8]
) -> Result<(), I::Error> where
    I: Write

Write given slice of data to the device at the given index.

Panics if slice.len() is greater than MAX_SLICE_LEN.