dap4/d4servlet/src/main/java/dap4/servlet/SerialWriter.java
public void
    writeCount(long count)
            throws IOException
    {
        countbuffer.clear();
        countbuffer.putLong(count);
        byte[] countbuf = countbuffer.array();
        int len = countbuffer.position();
        writeBytes(countbuf, len);
        if(DEBUG) {
            System.err.printf("count: %d%n", count);
        }
    }
public void
    writeCount(long count)
            throws IOException
    {
        countbuffer.clear();
        countbuffer.putLong(count);
        byte[] countbuf = countbuffer.array();
        int len = countbuffer.position();
        writeBytes(countbuf, len);
        if(DEBUG) {
            System.err.printf("count: %d%n", count);
        }
    }
public void writeCount ( long count ) throws IOException { countbuffer . clear ( ) ; countbuffer . putLong ( count ) ; byte [ ] countbuf = countbuffer . array ( ) ; int len = countbuffer . position ( ) ; writeBytes ( countbuf , len ) ; if ( DEBUG ) { System . err . printf ( "count: %d%n" , count ) ; } }
Write out a prefix count

@param count the count to write out
@throws IOException
Write out a prefix count