pub fn extract_tx_index(outpoint: &Outpoint) -> u32 {
    let mut arr: [u8; 4] = [0u8; 4];
    let b = extract_tx_index_le(outpoint);
    arr.copy_from_slice(&b[..]);
    u32::from_le_bytes(arr)
}
/// Extracts the LE tx input index from the input in a tx,
/// 4 byte tx index.
///
/// # Arguments
///
/// * `outpoint` - The outpoint extracted from the input
Extracts the LE tx input index from the input in a tx,
4 byte tx index.
Extracts the LE tx input index from the input in a tx 4 byte tx index .
pub fn extract_tx_index(outpoint: &Outpoint) -> u32 {
    let mut arr: [u8; 4] = [0u8; 4];
    let b = extract_tx_index_le(outpoint);
    arr.copy_from_slice(&b[..]);
    u32::from_le_bytes(arr)
}
pub fn extract_tx_index ( outpoint : & Outpoint ) -> u32 { let mut arr : [ u8 ; 4 ] = [ 0u8 ; 4 ] ; let b = extract_tx_index_le ( outpoint ) ; arr . copy_from_slice ( & b [ .. ] ) ; u32 :: from_le_bytes ( arr ) }
Extracts the LE tx input index from the input in a tx,
4 byte tx index.
Extracts the LE tx input index from the input in a tx 4 byte tx index .
outpoint
&Outpoint
outpoint
&Outpoint