class BtcTransactionFormatUtils {

    public static long getInputsCount(byte[] btcTxSerialized) {
        VarInt inputsCounter = new VarInt(btcTxSerialized, 4);
        return inputsCounter.value;
    }

}