> However, when I attempt to write out a message that contains characters that > are greater than 128 (unsigned) in byte size, they get stripped. I've also > tried replacing the WriteChar() in the WriteString() function with > WriteByte() but I still get the same result. Is there any way to write these > kind of characters into a bf_write? Or is this problem occurring somewhere > else downstream where these characters may be getting stripped?
What's "stripped"? Are they being clamped to 128? Or is it possible that it's being wrapped around to -127? I've had issues before with bf_read/bf_write and casting signed/unsigned chars. It usually comes down to making sure that you aren't making any unneccessary casts. -John Sheu _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders