Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Base64Encode – PB Docs 2017 – PowerBuilder Library

Base64Encode – PB Docs 2017

Base64Encode

PowerScript function

Description

Encodes a blob value using Base64 encoder.

Applies to

CoderObject object

Syntax

Argument

Description

coder

The name of the CoderObject object.

variable

A blob whose value is the data you want to encode
with Base64 encoder.

When using the system blob
function to convert a string to a blob, it is recommended to
specify its encoding argument to be EncodingANSI! (for English
characters only) or EncodingUTF8!, otherwise, the default
EncodingUTF16LE! will be used.

Return value

String. Returns the result of the encoding if it succeeds. If any
argument’s value is null, the method returns null. If an error occurs,
throw the exception.

Examples

This statement encodes the data using Base64 and returns the encoded
data.

See also

HexDecode

HexEncode

Base64Decode

UrlEncode

UrlDecode


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x