Constructing a Binary Virtual Stream for Input from a Portal
Example 8 is similar to Example 7 except that it sets up a binary virtual stream for input from a portal.
Example 8 – Constructing a binary virtual stream for input from a portal
RWPortalStreambuf buf(portal);
RWbistream istrm(&buf);