code: public static boolean isEvent(Buffer buffer, Class<?> eventClass) throws IOException {
  		return !buffer.isBuffer() && isEvent(buffer.getNioBufferReadable(), eventClass);
  	}
docs: Identifies whether the given buffer encodes the given event. Custom events are not supported.
  
  @param buffer the buffer to peak into
  @param eventClass the expected class of the event type
  @return whether the event class of the <tt>buffer</tt> matches the given <tt>eventClass</tt>