hehe, sorry, it's a long story, I'm trying to comunicate two BlitzMax applications due StandardIO redirectioning, and I need to ensure I can write any combination of bytes (even null ones) on the standardoutstream. Print doesn't work becouse CString, and a problem writing spetial characters, so I am tring alternatives... and of you writebytes to the standarduiostring, voila!, this bytes are converted by BlitzMAx again to a CString, so any null truncates the data. I can not sent the 2 bytes of an integer to the Standard IO, becouse it's easy the first one is a null character, if the number is less than 255...
String to Buffer
BlitzMax Forums/BlitzMax Programming/String to BufferThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.