String to Buffer

BlitzMax Forums/BlitzMax Programming/String to Buffer

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

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...