<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.oehive.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>The OpenEdge Hive - OOABL</title>
 <link>http://www.oehive.org/taxonomy/term/486/0</link>
 <description></description>
 <language>oehive</language>
<item>
 <title>Convert .NET System.Byte[] TO Progress  MEMPTR</title>
 <link>http://www.oehive.org/node/2047</link>
 <description>&lt;p&gt;I would like to convert .NET System.Byte[] TO ABL MEMPTR (BLOB).&lt;br /&gt;
&lt;strong&gt;What is the most efficient way to achieve this?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I have already create code to get this done, but it performs much to slow. (see code snippet: &lt;strong&gt;METHODE 1&lt;/strong&gt;)&lt;/p&gt;
&lt;p&gt;I was try to increase the performance for the conversion by using base64 as an intermediate form.&lt;br /&gt;
But i can not get it to work. See code snippets &lt;strong&gt;METHODE 2&lt;/strong&gt; and &lt;strong&gt;METHODE 3&lt;/strong&gt;)&lt;/p&gt;
&lt;p&gt;&lt;CODE&gt;&lt;br /&gt;
  /* METHOD 1 */&lt;br /&gt;
 METHOD PUBLIC STATIC MEMPTR ConvertToMemptr( byteArray AS &quot;System.Byte[]&quot; ):&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/2047&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/2047#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/241">4GL/ABL General Programming</category>
 <category domain="http://www.oehive.org/taxonomy/term/366">.Net</category>
 <category domain="http://www.oehive.org/taxonomy/term/972">BASE64</category>
 <category domain="http://www.oehive.org/taxonomy/term/973">BLOB</category>
 <category domain="http://www.oehive.org/taxonomy/term/974">DataType Conversion</category>
 <category domain="http://www.oehive.org/taxonomy/term/975">dotnet</category>
 <category domain="http://www.oehive.org/taxonomy/term/971">MEMPTR</category>
 <category domain="http://www.oehive.org/taxonomy/term/486">OOABL</category>
 <category domain="http://www.oehive.org/taxonomy/term/970">System.Byte[]</category>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Mon, 19 Dec 2011 10:38:43 +0000</pubDate>
 <dc:creator>scrape</dc:creator>
 <guid isPermaLink="false">2047 at http://www.oehive.org</guid>
</item>
</channel>
</rss>
