- All Implemented Interfaces:
- java.io.Closeable, java.io.DataOutput, java.io.Flushable, java.lang.AutoCloseable
public class GGZCardOutputStream
extends DIOOutputStream
This class does not write anything to the output stream until the flush()
method is called. All writes first go into an internal buffer so that the
size of a packet can be determined. When the flush() method is called, a
"packet header" is written that contains the size of the packet (including
the header) in bytes.
- Author:
- Helg.Bredow