Pattern to save/restore stream state

Pattern to save/restore stream state

Post by Arkadiy Vertle » Sun, 27 Jul 2003 02:30:59



Hi all,

Are there any patterns to simulate capture/restore of an input stream state?

Thanks in advance,

Arkadiy

 
 
 

Pattern to save/restore stream state

Post by Danny deSous » Sun, 27 Jul 2003 04:52:51


"Memento" pattern. GOF book.


Quote:> Hi all,

> Are there any patterns to simulate capture/restore of an input stream
state?

> Thanks in advance,

> Arkadiy