Much nicer (less verbose) preprocessor magic.
Dummy implementation of IByteStream.