code: @Override
      public boolean canHandleData(IoBuffer data) {
          boolean result = false;
          if (data.limit() > 0) {
              // read the first byte and ensure its AVC / h.264 type
              result = ((data.get() & 0x0f) == VideoCodec.AVC.getId());
              data.rewind();
          }
          return result;
      }
docs: {@inheritDoc}