@Override
  public KnownVersion getVersion() {
    return version;
  }
Creates a VersionedDataOutputStream that wraps the specified underlying OutputStream.

@param out the underlying output stream
@param version the product version that serialized object on the given {@link OutputStream}
geode-serialization/src/main/java/org/apache/geode/internal/serialization/VersionedDataOutputStream.java