serializeParams function
Serializes a list of parameter values to binary format.
The params list should contain ParamValue instances in the order
they appear in the prepared statement.
Returns a Uint8List containing the serialized parameters.
Implementation
Uint8List serializeParams(List<ParamValue> params) {
final out = <int>[];
for (final p in params) {
out.addAll(p.serialize());
}
return Uint8List.fromList(out);
}