lower static method

RustBuffer lower(
  1. TxIn value
)

Implementation

static RustBuffer lower(TxIn value) {
  final total_length =
      FfiConverterOutPoint.allocationSize(value.previousOutput) +
          Script.allocationSize(value.scriptSig) +
          FfiConverterUInt32.allocationSize(value.sequence) +
          FfiConverterSequenceUint8List.allocationSize(value.witness) +
          0;
  final buf = Uint8List(total_length);
  write(value, buf);
  return toRustBuffer(buf);
}