Skip to main content

write_bitwise_info_v1_bytes

Function write_bitwise_info_v1_bytes 

Source
pub fn write_bitwise_info_v1_bytes(
    bytes: &[u8],
    side_label: &str,
    writer: &mut impl Write,
) -> Result<usize>
Expand description

Render the canonical INFO messages that BitwiseInfoV1 would compare from bytes already captured by the caller.

Unlike write_canonical_info, this fixed-policy form requires UTF-8 and current structured DETLOG events and refuses a bounded-writer truncation. A harness can therefore render retained comparison records from the exact immutable bytes it compared without reopening a mutable pathname.