Overloads
ToBase64(Stream stream)
Converts the content of the stream to a base64-encoded string.
ToBase64(FileStream stream)
Converts the content of the file stream to a base64-encoded string.
ToBase64(Stream stream)
ToBase64(Stream stream)Converts the content of the stream to a base64-encoded string.
Parameters
- stream
- The input stream to convert.
Returns
A base64-encoded string representing the stream content.
ToBase64(FileStream stream)
ToBase64(FileStream stream)Converts the content of the file stream to a base64-encoded string.
Parameters
- stream
- The input file stream to convert.
Returns
A base64-encoded string representing the file stream content.