[#BloombergLP-bdlb-BigEndianUint16-maxSupportedBdexVersion-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BigEndianUint16.adoc[BigEndianUint16]::maxSupportedBdexVersion
:relfileprefix: ../../../
:mrdocs:

Return the maximum valid BDEX format version for `bdexStreamOut`&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;bigendian&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
maxSupportedBdexVersion(int versionSelector);
----

== Description

Return the maximum valid BDEX format version, as indicated by the specified `versionSelector`, to be passed to the `bdexStreamOut` method&period; Note that the `versionSelector` is expected to be formatted as `yyyymmdd`, a date representation&period; See the `bslx` package&hyphen;level documentation for more information on BDEX streaming of value&hyphen;semantic types and containers&period;

== Return Value

maximum valid BDEX format version

== Parameters

[cols="1,4"]
|===
| Name| Description
| *versionSelector*
| date&hyphen;like selector (`yyyymmdd`) for the format
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
