I have a .NET assembly that I've generated from NVOs. One of the methods I need to call accepts a BLOB of a DataWindow state (calls datastore.setfullstate(BLOB), then performs validation on datastore).
How would one go about generating a byte array that this method could accept? I've tried just passing a tab-delimited string of the contents of my .NET DataTable object which I converted to a byte array using System.Text.Encoding.Unicode.GetBytes(BLOB), but that did not work.
Thanks
ETA: The .NET Assembly was created with PowerBuilder 2017 R3 and migrating to PB19 is not an option for our shop at this time.