@Override
    public void fill(ByteBuffer buffer, long id) {
      buffer.put(EVENTID_INT);
      buffer.putInt((int) id);
    }
Writes the given 'id' to the given buffer as 'int' preceded by a token indicating that it is
written as 'int' type.

@param buffer - the buffer in which id is to be written
@param id - the threadId or sequenceId to be written
geode-core/src/main/java/org/apache/geode/internal/cache/EventID.java