BloombergLP::balber::BerUtil_GetValueImpUtil::getValue

Component-private BER utility operation.

Synopsis

Declared in <balber_berutil.h>

static
int
getValue(
    bdldfp::Decimal64* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
valuedestination for the decoded value
streamBufinput stream buffer
lengthnumber of content octets
optionsdecoder options controlling decoding behavior