[#BloombergLP-bslx-GenericOutStream-putArrayFloat32]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/GenericOutStream.adoc[GenericOutStream]::putArrayFloat32
:relfileprefix: ../../../
:mrdocs:

Write an array of four&hyphen;byte IEEE single&hyphen;precision values to this stream&period;

== Synopsis

Declared in `&lt;bslx&lowbar;genericoutstream&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslx/GenericOutStream.adoc[GenericOutStream&lt;STREAMBUF&gt;]&
putArrayFloat32(
    float const* values,
    int numValues);
----

== Description

Write to the stream supplied at construction the consecutive four&hyphen;byte IEEE single&hyphen;precision floating&hyphen;point numbers (in network byte order) comprised of the most&hyphen;significant four bytes of each of the specified `numValues` leading entries in the specified `values` (in host byte order), and return a reference to this stream&period; If this stream is initially invalid, this operation has no effect&period; The behavior is undefined unless `0 &lt;&equals; numValues` and `values` has sufficient contents&period; Note that for non&hyphen;conforming platforms, this operation may be lossy&period;

== Return Value

a reference to this stream

== Parameters

[cols="1,4"]
|===
| Name| Description
| *values*
| array of floating&hyphen;point values to write
| *numValues*
| number of values to write
|===


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