Created
July 11, 2018 21:42
-
-
Save GeorgeTsiokos/919a4ad8ddc77af1af409371e3972528 to your computer and use it in GitHub Desktop.
Convert a file to a c# byte[] constant
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
"new byte[] {" + string.Join(", ", File.ReadAllBytes(@"C:\filename")) + "};" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment