private Object deserializeKey(byte[] keyBytes, final KnownVersion version,
      final ByteArrayDataInput in) {
    if (!getParent().isOffline() || !PdxWriterImpl.isPdx(keyBytes)) {
      return EntryEventImpl.deserialize(keyBytes, version, in);
    } else {
      return new RawByteKey(keyBytes);
    }
  }
Method to be used only for testing

@param ch Object to replace the channel in the Oplog.crf
@return original channel object
geode-core/src/main/java/org/apache/geode/internal/cache/Oplog.java