Store a four-byte IEEE float into the specified buffer.
Declared in <bslx_marshallingutil.h>
static
void
putFloat32(
char* buffer,
float value);
Load into the specified buffer the four-byte IEEE single-precision floating-point number (in network byte order) comprised of the most-significant four bytes of the specified value (in host byte order). The behavior is undefined unless buffer has sufficient capacity. Note that for non-conforming platforms, this operation may be lossy.
| Name | Description |
|---|---|
| buffer | destination buffer in network byte order |
| value | host-order four-byte IEEE float to write |