LEADTOOLS JavaScript (Leadtools)

Base64Encode Method

Show in webframe
Input byte array
If true, then any line feed characters (hex values 10 followed by 13) will be removed and not encoded in the final result. Otherwise; line feed characters will be encoded in the final result.
Encodes a byte array as Base 64 and returns the result.
Syntax
 function Leadtools.LTHelper.base64Encode( 
   input ,
   removeLinefeed 
)

Parameters

ParameterTypeDescription
inputbyteInput byte array
removeLinefeedboolIf true, then any line feed characters (hex values 10 followed by 13) will be removed and not encoded in the final result. Otherwise; line feed characters will be encoded in the final result.

Return Value

TypeDescription
string A string that contains the resulting Base 64 encoded value.
See Also

Reference

LTHelper Object
LTHelper Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.