Wez,
im not sure if you had planned to do so, but it would be ultra nice to
have a stream implemented over an expandable string (for instance wrapping
Sascha's smart-strings). its one of the niceties i like in Delphi - you can
do something like this :
InitialString := 'This is some data';
Yep, or something like it.
In some other code that I an using to test my streams idea, I have
implemented something a bit like a TMemoryStream that can do more or
less what you need - off the top of my head it looks sth like this;
str = stream_mem_open(initial_string, initial_strlen);
stream_wri
On Tue, 23 Oct 2001, Wez Furlong wrote:
> Yep, or something like it.
>
> In some other code that I an using to test my streams idea, I have
> implemented something a bit like a TMemoryStream that can do more or
> less what you need - off the top of my head it looks sth like this;
>
> str = strea
Andrei,
> Perhaps I'm missing something, but can you explain how this is better
> than what we have now?
the power of abstraction
i'll give you an example of why i want it. im working on resultset caching
in a DB astraction layer, and im giving the user the option of saving to XML
or a more com
On Tue, 23 Oct 2001, l0t3k wrote:
> > Perhaps I'm missing something, but can you explain how this is better
> > than what we have now?
> the power of abstraction
Yes, but abstraction is not always necessary, wouldn't you agree?
> i'll give you an example of why i want it. im working on resultse