base64Encode Method (LTHelper)

Summary

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

Syntax

JavaScript Syntax
base64Encode = function(input, removeLinefeed)
TypeScript Syntax
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize