Skip to content

libsodium.EncodeBase64

Andrew Lambert edited this page Nov 26, 2022 · 2 revisions

libsodium.EncodeBase64

Method Signature

 Protected Function EncodeBase64(BinaryData As MemoryBlock, Type As libsodium.Base64Variant = libsodium.Base64Variant.Original) As MemoryBlock

Parameters

Name Type Comment
BinaryData MemoryBlock The data to be encoded.
Type Base64Variant Optional. The variant of base64 encoding to use.

Return value

The encoded data, or Nil on error.

Remarks

This method encodes the BinaryData as a Base64 string.

See also

Clone this wiki locally