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.