[#BloombergLP-bslx-MarshallingUtil-getFloat32] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/MarshallingUtil.adoc[MarshallingUtil]::getFloat32 :relfileprefix: ../../../ :mrdocs: Load a four‐byte IEEE float from the specified `buffer`. == Synopsis Declared in `<bslx_marshallingutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void getFloat32( float* variable, char const* buffer); ---- == Description Load into the specified `variable` the four‐byte IEEE single‐precision floating‐point number (in host byte order) comprised of the initial four bytes of the specified `buffer` (in network byte order). The behavior is undefined unless `buffer` has sufficient contents. == Parameters [cols="1,4"] |=== | Name| Description | *variable* | destination for the host‐order four‐byte IEEE float | *buffer* | source buffer in network byte order |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#