Skip to main content

write_optional_bytes_with_flag_fixed

Function write_optional_bytes_with_flag_fixed 

Source
pub fn write_optional_bytes_with_flag_fixed(
    writer: &mut impl Write,
    data: Option<&[u8]>,
) -> Result<(), WalletError>
Expand description

Write optional bytes with flag but without length prefix (fixed-size like txid).