POV-Ray : Newsgroups : povray.programming : Extending the #read directive : Re: Extending the #read directive Server Time
18 Jun 2024 14:28:28 EDT (-0400)
  Re: Extending the #read directive  
From: Christopher James Huff
Date: 9 May 2003 11:18:15
Message: <cjameshuff-9E56A4.11181709052003@netplex.aussie.org>
In article <3EBA5031.EDABF9C2@gmx.de>,
 Christoph Hormann <chr### [at] gmxde> wrote:

> No, i think he means if the file contains a '\0' this will result in a
> '\0' :-)
> 
> '\0' indicates the end of a string so this would mess up the whole thing.

Only on null-terminated strings. If you store the length separately, you 
don't need a null terminator and can have any byte value in the string.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.