read static method
Implementation
static LiftRetVal<InvalidHashPsbtException> read(Uint8List buf) {
int new_offset = buf.offsetInBytes;
final hash_lifted =
FfiConverterString.read(Uint8List.view(buf.buffer, new_offset));
final hash = hash_lifted.value;
new_offset += hash_lifted.bytesRead;
return LiftRetVal(
InvalidHashPsbtException._(
hash,
),
new_offset);
}