Created
May 15, 2023 20:47
-
-
Save kulvirTAC/ec9d93a84e11e5e3a58e015856a0bf1e to your computer and use it in GitHub Desktop.
Base64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var textBytes = Encoding.UTF8.GetBytes("Hello world!"); | |
// after: 72 101 108 108 111 32 119 111 114 108 100 33 | |
var base64String = Convert.ToBase64String(textBytes, 6, 6); | |
// after: d29ybGQh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment