public void clear() {
    if (part != null) {
      if (part instanceof HeapDataOutputStream) {
        ((HeapDataOutputStream) part).close();
      }
      part = null;
    }
    typeCode = BYTE_CODE;
  }
Is the payload (<code>part</code>) a serialized object?
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/Part.java