CFL Base64 Convert
Provides utility methods for encoding and decoding data to and from Base64 format. This codeunit wraps the standard Base64 Convert functionality and extends it with support for Temp Blobs and CFL Files.
Object Definition
| Object Type | Codeunit |
| Object ID | 2098002 |
| Object Name | CFL Base64 Convert |
Procedures
| Name | Description |
|---|---|
| CFLBase64StringToCFLFile(Bigtext; record "CFL Files") | Decodes a Base64 encoded BigText and stores the result in a CFL File record's blob field. |
| CFLBase64StringToCFLFile(text; record "CFL Files") | Decodes a Base64 encoded string and stores the result in a CFL File record's blob field. |
| CFLBase64StringToTempBlob(Bigtext; codeunit "Temp Blob") | Decodes a Base64 encoded BigText and stores the result in a Temp Blob. |
| CFLBase64StringToTempBlob(text; codeunit "Temp Blob") | Decodes a Base64 encoded string and stores the result in a Temp Blob. |
| CFLBigTextToBase64String(BigText): Text | Converts a BigText value to a Base64 encoded string. |
| CFLBigTextToBase64String(BigText; BigText) | Converts a BigText value to a Base64 encoded BigText. |
| CFLFileToBase64String(record "CFL Files"): text | Converts the blob content of a CFL File record to a Base64 encoded string. |
| CFLFromBase64StringToBigText(BigText; BigText) | Decodes a Base64 encoded BigText to BigText. |
| CFLFromBase64StringToStream(Text; OutStream) | Decodes a Base64 encoded string and writes the binary data to an OutStream. |
| CFLFromBase64StringToText(BigText): Text | Decodes a Base64 encoded BigText to text. |
| CFLFromBase64StringToText(Text): Text | Decodes a Base64 encoded string to text. |
| CFLStreamToBase64String(InStream): Text | Converts an InStream to a Base64 encoded string. |
| CFLTempBlobToBase64String(codeunit "Temp Blob"): text | Converts the contents of a Temp Blob to a Base64 encoded string. |
| CFLTextToBase64String(Text): Text | Converts a text value to a Base64 encoded string. |