Function rustdx::bytes_helper::into_arr2

source ·
pub fn into_arr2(slice: &[u8], pos: usize) -> [u8; 2]
Expand description

把 slice 转换为长度为 2 的 array