blob: 1c95aba4b16cbd3f39d44b019dcd58929a91f680 (
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_suffix_static_size(
source: &format::CocoPacket,
destination: &mut [u8],
) -> Option<()> {
source.write_to_suffix(destination).ok()
}
|