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';
    str := TStringStream.Create(InitialString);
    str.Write("hello", sizeof('hello'));
    fileStream := TFileStream.Create('license.txt',fmOpenRead);
    str.CopyFrom( fileStream, fileStream.Size );
    fileStream.free;
    output := str.DataString;
    writeln( output );

etc.

this would be helpful for an extension im working on. i'd rather have only
one 'logical' way of generating output, as opposed to having two separate
methods for files and strings.

l0t3k



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to