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