public void writeInt ( int value ) { try { buffer . writeInt ( 4 ) ; buffer . writeInt ( value ) ; } catch ( Exception e ) { throw new BinaryWriteFailedException ( e ) ; } }
Writes primitive integer to the output stream