EncodeFileAsBase64 |
Object Method - EncodeFileAsBase64() Parent Object - HL7Vendor Returns - String Name: EncodeBase64(Byval sFileName, Optional Byval lngMaxSize = 64000) Parameters: 1. sFileName (String - Full Path/FileName of file to encode) 2. lngMaxSize (Long - The Maximum Filesize in Bytes)
Description: Encodes the contents of a binary file as a BASE64 ASCII string. If the file size exceeds lngMaxSize then it returns an empty string ("")
Programming Note: Many interfaces use BASE64 encoding to include binary files (Adobe PDF files or Word Documents for example) in HL7 messages (in the OBX segment).
See Also: EncodeBase64
|