BloombergLP::bslx::GenericInStream::getFloat32

Assign to the specified variable the four-byte IEEE single-precision floating-point number (in host byte order) comprised of the four bytes of this stream at the current cursor location (in network byte order), update the cursor location, and return a reference to this stream. If this stream is initially invalid, this operation has no effect. If this function otherwise fails to extract a valid value, this stream is marked invalid and the value of variable is undefined.

Synopsis

Declared in <bslx_genericinstream.h>

GenericInStream<STREAMBUF>&
getFloat32(float& variable);