Hi, how can I convert a string character (i.e obtained by using Mid(mystring$, n, 1) into a Byte ready for writing to a stream. I know I can write strings to streams but I want to manipulate the byte value before saving.
This just generates junk, presumeably because it strings are made from unicode characters (16 bits yes?):
This just generates junk, presumeably because it strings are made from unicode characters (16 bits yes?):
Local b:Byte = Byte(Mid(name$,i,1))Thanks!