write static method
Implementation
static int write(AuthRequest value, Uint8List buf) {
int new_offset = buf.offsetInBytes;
new_offset += FfiConverterUInt64.write(
value.id,
Uint8List.view(buf.buffer, new_offset),
);
new_offset += FfiConverterString.write(
value.clientId,
Uint8List.view(buf.buffer, new_offset),
);
new_offset += FfiConverterOptionalString.write(
value.username,
Uint8List.view(buf.buffer, new_offset),
);
new_offset += FfiConverterOptionalUint8List.write(
value.password,
Uint8List.view(buf.buffer, new_offset),
);
return new_offset - buf.offsetInBytes;
}