blob: 826222c129fed43c894390e83b44a05c4d400d32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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()
}
|