pub fn samples_to_bytes(
samples: &[TuneSampleRow],
format: SampleExportFormat,
) -> Result<Vec<u8>>Expand description
Serializes a run’s recorded samples to CSV or JSON bytes. The CLI and HTTP adapters use this function so their export formats stay identical.