serializeString function
Implementation
void serializeString(SerializableOutput output, dynamic x) {
output.addUint32(x.length);
output.addBytes(x is String ? Uint8List.fromList(x.codeUnits) : x);
}
void serializeString(SerializableOutput output, dynamic x) {
output.addUint32(x.length);
output.addBytes(x is String ? Uint8List.fromList(x.codeUnits) : x);
}