@Override public void fill(ByteBuffer buffer,long id){
  buffer.put(EVENTID_SHORT);
  buffer.putShort((short)id);
}

@ Override public void fill ( ByteBuffer buffer , long id ) { buffer . put ( EVENTID_SHORT ) ; buffer . putShort ( ( short ) id ) ; }
writes the given ' id ' to the given buffer as ' short ' preceeded by a token indicating that it is written as ' short ' type .
