Closed kirsan31 closed 1 year ago
Got it:
protected override void ReadProperties(IDataPipeReader reader)
{
DSMemberNames = reader.ReadArray(nameof(DSMemberNames), (r) => r.ReadString()!);
}
protected override void WriteProperties(IDataPipeWriter writer)
{
writer.WriteArray(nameof(DSMemberNames), DSMemberNames, (w, s) => w.Write(s));
}
I see only
ReadByteArray
method for build in types. Or we need to create a wrapper for each other type like this:?