pub fn to_writer_with_key<W, T>(
writer: &mut W,
value: &T,
key: &str,
) -> Result<()>
Expand description
Serialize the value
into an IO stream of VDF text with a custom top level VDF key
§Errors
This will return an error if the input can’t be represented with valid VDF