SP.Base64EncodedByteArray.toBase64String() Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Applies To

Converts the array to text.

var value = SP.Base64EncodedByteArray.toBase64String();

Return Value

Type: String

The base64-encoded text.


The end of the encoded text has extra "=" characters if the length of the original text divided by 3 is not 0 (zero). For example, if the remainder is 2, the text ends with one extra "=" character; if the remainder is 1, the text ends with two extra "=" characters.

Applies To

SP.Base64EncodedByteArray Class

See Also


SP.Base64EncodedByteArray Methods

SP.Base64EncodedByteArray Properties

SP Namespace