pub fn pack(
put: impl Fn(&mut FieldWriter) -> Result<(), Error>,
) -> Result<SecretBytes, Error>Expand description
Pack the fields put writes into one buffer erased on drop and
allocated once. put must write the same fields both times it runs.