Re: proposal: cloneable input streams

2014-11-17 Thread Ben Kelly
> I propose adding this interface: > > interface nsICloneableInputStream : nsIInputStream > { > nsIInputStream clone(); > }; > > The clone() method returns a copy of the stream in the most efficient manner > possible. This might mean different operations depending on the concrete > imp

proposal: cloneable input streams

2014-11-13 Thread Ben Kelly
Hello all, I'd like to propose an addition to our nsIInputStream infrastructure. Please let me know what you think. Basics: I propose adding this interface: interface nsICloneableInputStream : nsIInputStream { nsIInputStream clone(); }; The clone() method returns a copy of the stre