use zerocopy::*;

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

#[unsafe(no_mangle)]
fn bench_write_to_prefix_static_size(
    source: &format::CocoPacket,
    destination: &mut [u8],
) -> Option<()> {
    source.write_to_prefix(destination).ok()
}