vibe.d beta banner
get vibe.d
0.8.4

Asynchronous I/O that doesn’t get in your way, written in D

Template validateInputStream

Verifies that the given type is a valid input stream.

template validateInputStream(T) ;

A valid input stream type must implement all methods of the InputStream interface. Inheriting form InputStream is not strictly necessary, which also enables struct types to be considered as stream implementations.

See Also

isInputStream

Authors

Sönke Ludwig

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.