Skip to main content

write_outpoint

Function write_outpoint 

Source
pub fn write_outpoint<W: Write>(writer: W, outpoint: &OutPoint) -> Result<()>
Expand description

Writes outpoint in its transaction encoding: a 32-byte txid followed by the output index as a little-endian u32.

Returns an error only if writer fails.