Hi,
Currently, I am using the below function to convert strings to a byte array.
I want to convert this function to the Rebex method instead of the C1ZStreamWriter.
var ms = new MemoryStream();
var sw = new C1ZStreamWriter(ms);
var srcData = Encoding.UTF8.GetBytes("Hello Test");
sw.Write(srcData, 0, srcData.Length);
sw.Flush();
var x= ms.ToArray();
Any idea?
Thanks
Brendan