[Home] [By Thread] [By Date] [Recent Entries]
On 15 November 2013 16:46, David Sheets <kosmo.zb@g...> wrote: .. > If I decided to use null-terminated strings to transmit a binary blob, > would it be a "C WTF"? > I think null-terminated strings where "good enough" at the time. For usa-ascii users. Where, I think the unicode standard allow characters to be padded from the left with 0x00s so ...is not true anymore. ..for unicode users. For general data, like a GIF image. Not even a C programmer would transfer it in a null terminated string. null terminated is for text. *insert here comment how things that are good enough are not broken, are good for one thing, but not for all things and that is okay*
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



