BloombergLP::balber::BerUtil_LengthImpUtil::getEndOfContentOctets

Decode BER end-of-content octets from streamBuf.

Synopsis

Declared in <balber_berutil.h>

static
int
getEndOfContentOctets(
    int* accumNumBytesConsumed,
    std::streambuf* streamBuf);

Description

specified accumNumBytesConsumed. Return 0 on success, and a non-zero value otherwise.

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
accumNumBytesConsumedrunning total of bytes consumed; incremented by this call
streamBufinput stream buffer