Suppose my string is "John Doe"
How can i convert this to a byte array?
Currently i just have the code to convert the string into a byte array, but how to make i into a null terminated byte array?
byte[] bytes = Encoding.ASCII.GetBytes("John Doe");
Thanks ahead