read static method
Implementation
static LiftRetVal<SignalSdkOptions> read(Uint8List buf) {
int new_offset = buf.offsetInBytes;
final sdk_lifted = FfiConverterString.read(
Uint8List.view(buf.buffer, new_offset),
);
final sdk = sdk_lifted.value;
new_offset += sdk_lifted.bytesRead;
final sdkVersion_lifted = FfiConverterOptionalString.read(
Uint8List.view(buf.buffer, new_offset),
);
final sdkVersion = sdkVersion_lifted.value;
new_offset += sdkVersion_lifted.bytesRead;
final otherSdks_lifted = FfiConverterOptionalString.read(
Uint8List.view(buf.buffer, new_offset),
);
final otherSdks = otherSdks_lifted.value;
new_offset += otherSdks_lifted.bytesRead;
return LiftRetVal(
SignalSdkOptions(sdk: sdk, sdkVersion: sdkVersion, otherSdks: otherSdks),
new_offset - buf.offsetInBytes,
);
}