zerocopy 0.8.48

Zerocopy makes zero-cost memory manipulation effortless. We write "unsafe" so you don't have to.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use zerocopy::*;

#[path = "formats/coco_dynamic_padding.rs"]
mod format;

#[unsafe(no_mangle)]
unsafe fn bench_split_via_unchecked_dynamic_padding(
    split: Split<&format::CocoPacket>,
) -> (&format::CocoPacket, &[[u8; 3]]) {
    unsafe { split.via_unchecked() }
}