Skip to main content

padding_record

Function padding_record 

Source
pub fn padding_record(total_size: usize) -> Result<WalRecord>
Expand description

Build a padding record occupying exactly total_size bytes on disk.

Padding is never encrypted: it carries no data, and the AES-GCM tag would change its on-disk length, which is the one property that has to be exact.