Skip to main content

first_block

Function first_block 

Source
fn first_block(bytes: &[u8]) -> &[u8; 16]
Expand description

Helper: return the first BLK_LEN bytes of a slice as an array.

TODO PERF: look for other ways to express this, and/or make sure that it compiles down to something minimal.