read static method

Implementation

static LiftRetVal<CombineInconsistentKeySourcesPsbtException> read(
    Uint8List buf) {
  int new_offset = buf.offsetInBytes;

  final xpub_lifted =
      FfiConverterString.read(Uint8List.view(buf.buffer, new_offset));
  final xpub = xpub_lifted.value;
  new_offset += xpub_lifted.bytesRead;
  return LiftRetVal(
      CombineInconsistentKeySourcesPsbtException._(
        xpub,
      ),
      new_offset);
}