Base64 Conversions and CPU Usage

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm reading a bytes of jpg file and convert them to Base64 string using
Sender Side : Convert.ToBase64String();
in Reciever Side : i get back the string to bytes i write it to file (i
convert the string to bytes using Convert.FromBase64String())

the CPU usage when Convert.FromBase64String() the CPU usage be within
80%~100% ,so i wondering are there more efficient ways to to such task?
 
Back
Top