PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] Binary Files/NUL Chars
Date: Saturday, 31 Oct 2020, 18:10:05


    > Message Posted By: Unknown
    >
    > The spec mentions that NUL chars can cause issues in binary files. Why is
    > this? Don't NUL chars map to an ASCII value just like all other characters?

Hint:  What can happen if you use code 0 to represent
both the empty string and the one-character string
containing the NUL character?

--Stan-
PREV INDEX NEXT