Write the length and contents octets of the BER encoding of the specified real value (as defined in the specification) to the output sequence of the.
Declared in <balber_berutil.h>
static
int
putFloatValue(
std::streambuf* streamBuf,
float value,
BerEncoderOptions const* options = 0);
specified streamBuf. Optionally specify options, which will indicate whether -0.0f will be preserved or encoded as +0.0f. Return 0 if successful, and a non-zero value otherwise. The operation succeeds if all bytes corresponding to the length and contents octets are written to the streamBuf without the write position becoming unavailable.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| streamBuf | output stream buffer |
| value | value to encode |
| options | encoder options (0 for defaults) |