System.Byte[]


Convert .NET System.Byte[] TO Progress MEMPTR

I would like to convert .NET System.Byte[] TO ABL MEMPTR (BLOB).
What is the most efficient way to achieve this?

I have already create code to get this done, but it performs much to slow. (see code snippet: METHODE 1)

I was try to increase the performance for the conversion by using base64 as an intermediate form.
But i can not get it to work. See code snippets METHODE 2 and METHODE 3)


/* METHOD 1 */
METHOD PUBLIC STATIC MEMPTR ConvertToMemptr( byteArray AS "System.Byte[]" ):


Syndicate content