M
mehafi
hi,
I need to write a few integer numbers to file. A method write from
FileStream writes an array of bytes. So how to conwert my integers to
byte array?
I've tried Convert class, but it hasn't proper methods.
I've tried also TypeDescriptor.GetConverter ... but got message "cant
convert byte[] to byte[]"
Could someone write me a line of code which will ilustrate this?
thanks in advance
mehafi
I need to write a few integer numbers to file. A method write from
FileStream writes an array of bytes. So how to conwert my integers to
byte array?
I've tried Convert class, but it hasn't proper methods.
I've tried also TypeDescriptor.GetConverter ... but got message "cant
convert byte[] to byte[]"
Could someone write me a line of code which will ilustrate this?
thanks in advance
mehafi