Base64Encode Method

Overload List

Encode(Byte, Base64FormattingOptions)Converts a Byte array to a corresponding Base64-encoded string. You can determine, whether line breaks are to be inserted into the return value.
Encode(IEnumerableByte, Base64FormattingOptions)Converts a Byte collection to a corresponding Base64-encoded string. You can determine, whether line breaks are to be inserted into the return value.
Encode(ReadOnlySpanByte, Base64FormattingOptions)Converts a read-only Byte span to a corresponding Base64-encoded string. Optional you can determine, whether line breaks are to be inserted into the return value.
Encode(Byte, Int32, Int32, Base64FormattingOptions)Converts a subset of a Byte array to its equivalent Base64-encoded string representation. Parameters specify the subset as an offset in the input array, the number of bytes to be converted, and whether newlines are to be inserted in the return value.

See Also