DecodeBase64.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
  4. <sect1 id="DecodeBase64">
  5. <title>DecodeBase64</title>
  6. <para><emphasis role="bold">STD.Str.DecodeBase64<indexterm>
  7. <primary>STD.Str.DecodeBase64</primary>
  8. </indexterm><indexterm>
  9. <primary>Str.DecodeBase64</primary>
  10. </indexterm><indexterm>
  11. <primary>DecodeBase64</primary>
  12. </indexterm>(</emphasis> <emphasis>value</emphasis> <emphasis
  13. role="bold">)</emphasis> <emphasis role="bold"></emphasis></para>
  14. <informaltable colsep="1" frame="all" rowsep="1">
  15. <tgroup cols="2">
  16. <colspec colwidth="80.50pt" />
  17. <colspec />
  18. <tbody>
  19. <row>
  20. <entry><emphasis>value</emphasis></entry>
  21. <entry>A STRING value containing the data to decode.</entry>
  22. </row>
  23. <row>
  24. <entry>Return:<emphasis> </emphasis></entry>
  25. <entry>DecodeBase64 returns a DATA value.</entry>
  26. </row>
  27. </tbody>
  28. </tgroup>
  29. </informaltable>
  30. <para>The <emphasis role="bold">DecodeBase64 </emphasis>function returns a
  31. DATA value containing the decoded binary data.</para>
  32. <para>Example:</para>
  33. <programlisting format="linespecific">IMPORT STD;
  34. str:='AQIDBAU=';
  35. DecodedData:= STD.Str.DecodeBase64(str);
  36. DecodedData;</programlisting>
  37. <para>See Also: <link linkend="EncodeBase64">EncodeBase64</link></para>
  38. </sect1>