base64Encode Method

Summary

Encodes a byte array as Base 64 and returns the result.

Syntax
TypeScript
JavaScript
base64Encode = function( 
   input, 
   removeLinefeed 
) 
static base64Encode( 
   input: number[], 
   removeLinefeed: boolean 
): string; 

Parameters

input

Input byte array

removeLinefeed

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.

Return Value

A string that contains the resulting Base 64 encoded value.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly