Answers for "c# read all bytes from path convert to base64 string"

0

byte array to base64 c#

byte[] temp_backToBytes = Convert.FromBase64String(temp_inBase64);
Posted by: Guest on February-04-2021
0

convert stream to base64 string c#

You can also encode bytes to Base64. How to get this from a stream see here: How to convert an Stream into a byte[] in C#?

Or I think it should be also possible to use the .ToString() method and encode this.
Posted by: Guest on March-12-2021

Code answers related to "c# read all bytes from path convert to base64 string"

Browse Popular Code Answers by Language