private byte[] serializeVersionTag(int entryVersion, long regionVersion,
      VersionSource versionMember, long timestamp, int dsId) throws IOException {
    HeapDataOutputStream out = new HeapDataOutputStream(4 + 8 + 4 + 8 + 4, KnownVersion.CURRENT);
    serializeVersionTag(entryVersion, regionVersion, versionMember, timestamp, dsId, out);
    return out.toByteArray();
  }
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