Skip to main content

from_le_const_u64

Function from_le_const_u64 

Source
pub const unsafe fn from_le_const_u64(slice: &[u8], start: usize) -> u64
Expand description

Converts slice with offset to a little-endian u64.

§Safety

This function does not verify the out-of-bounds access. It is up to the caller to ensure that the range is valid.

§Panics

It will panic on out-of-bounds access, but only in debug mode.