public PdxType getSerializedType() {
    return getUnreadType().getSerializedType();
  }
Returns the PdxType to use when serializing this unread data. Returns null if we don't know
what this type is yet.

@return the PdxType to use when serializing this unread data.
geode-core/src/main/java/org/apache/geode/pdx/internal/PdxUnreadData.java