Products Downloads


French version


 


This function is used to encode a binary in a base64 string.


Application area

  • Windows client,

  • Windows server,

  • Mobile client,

  • Mobile server,

  • Java client,

  • Java server,

  • Adelia Web client,

  • Adelia Cloud client.


Parameters

IMAGE

SourceBinary

Binary to encode.

ALPHA

Base64String

Base64 encoded target string.

NUM_BIN_2 Length Length of the target string.

BOOL

ReturnCode

Operation return code:

*TRUE if the operation was carried out correctly.

*FALSE if not.


For example

IMAGE

Picture

ALPHA(32000)

strb64

NUM_BIN_4

BuffLg

BOOL

boRet


BuffLg = 32000

CALL_DLL 'VATOOLBX.DLL' 'VaToolBxImageToBase64' Picture strb64 BuffLg boRet



List of the VaToolBx functions by topic


↑ Top of page

  • Aucune étiquette