Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

char[] -> stream?

Moderators: larsivi kris

Posted: 09/05/09 06:34:53

Does tango already have a way to create a stream that just simply has a string as it's input? Or do I just need to create my own InputStream?-implementing class?

(It would be useful for unittesting code that uses streams).

Author Message

Posted: 09/05/09 11:55:04