Wednesday, 16 January 2019

c# - how to convert from string to byte[]







Hi,



How can I convert from string:My text into { 0x38, 0x41, 0x45... }and so on. I would like an example in both c++ and c# (.net) code. THX

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...