Check out example codes for "convert bytes to string and back c#". It will help you in understanding the concepts better.

Code Example 1

string base64 = Convert.ToBase64String(bytes);
byte[] bytes = Convert.FromBase64String(base64);

Learn ReactJs, React Native from akashmittal.com