[Home] [By Thread] [By Date] [Recent Entries]


> > Could there be a similar siutation for a writer API?
> > Possibly yes - as it is conceivable that the data to be
> > written out are part of some larger text/structure and
> > there is no reason to force a new string allocation on the caller.
> 
> Yes, this is my point.

To be able to deal efficiently with null-terminated strings one
can indicate this to the writer API by passing -1 for the text 
length instead of calling strlen. 

Karl

  • References:
    • Re: Genx
      • From: David Tolpin <dvd@d...>
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member