I’m a little confused as to bytes.
I can open a file in a hex editor and know that each 2 digits is a byte, they are 8 digits in binary correct?
How are they stored in arrays in VB.NET?
So if I have
Dim xx() as byte =
What would I put after the equals? The hex digits from the hex editor?
(This is just a program I’m not going to save, basically I don’t want to open files to get etc. I want to put in the bytes in the code.)
Thanks everyone for your answers (on new years eve too 🙂 )
You need to write the bytes as a hexadecimal numbers, like this:
You can also write bytes as regular decimal numbers, like this: