blob: a54d3277311384d6779ace3a1ed7e43d99a819ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
use zerocopy::*;
#[path = "formats/coco_dynamic_size.rs"]
mod format;
#[unsafe(no_mangle)]
fn bench_write_to_prefix_dynamic_size(
source: &format::CocoPacket,
destination: &mut [u8],
) -> Option<()> {
source.write_to_prefix(destination).ok()
}
|