BloombergLP::bslx::MarshallingUtil::putArrayFloat32

Load into the specified buffer the consecutive four-byte IEEE single-precision floating-point numbers (in network byte order) comprised of the most-significant four bytes of each of the specified numValues leading entries in the specified values (in host byte order). The behavior is undefined unless buffer has sufficient capacity, values has sufficient contents, and 0 <= numValues. Note that for non-conforming platforms, this operation may be lossy.

Synopsis

Declared in <bslx_marshallingutil.h>

static
void
putArrayFloat32(
    char* buffer,
    float const* values,
    int numValues);