pub fn plan_bytes(bytes: &[u8]) -> Result<(), Refusal>
Refuse the record before decoding it, including malformed records.