read static method
Implementation
static LiftRetVal<UnsupportedSegwitFlagEncodeException> read(Uint8List buf) {
int new_offset = buf.offsetInBytes;
final flag_lifted =
FfiConverterUInt8.read(Uint8List.view(buf.buffer, new_offset));
final flag = flag_lifted.value;
new_offset += flag_lifted.bytesRead;
return LiftRetVal(
UnsupportedSegwitFlagEncodeException._(
flag,
),
new_offset);
}