You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same problem and fixed it this way. Also wrote an ostream wrapper.
One thing to mention about the istream wrapper:
int Peek() {
return _is->eof() ? '\0' : _is->peek();
}
peek kind of has to check for eof, otherwise it will return -1 instead of '\0'
Is there a way to read the first of multiple top level objects - particularly
when reading from stream/socket?
Original issue reported on code.google.com by
[email protected]
on 18 Mar 2012 at 4:35Attachments:
The text was updated successfully, but these errors were encountered: