From Boris Boehlen · 1996-04-09 06:00 · #73685 in EMULATE
Hi, I need a stream class that is build upon the C++ iostream library. It should handle binary files that are portable between computers with a different endian. I know that I have to create my own streambuf, streambase ,istream, ostream and stream classes. The last three classes seem to be no problem because I think that only need to define some constructors like in the ifstream class. I hope that I can map most parts of the streambase class to the streambuf class. But exactly there is the problem. I have no doubt how I have to implement the streambuf class. I hope that anyone can help me with this problem. Maybe it helps if someone can mail me a sample source code for the fstream classes. Fido: 2:2433/608.15 Internet: boehlen@pool.informatik.rwth-aachen.de Many thanx in advance Boris --- CrossPoint v3.1 * Origin: Mariko's BBS (2:2433/608.15)