BloombergLP::balber::BerUtil_LengthImpUtil::getEndOfContentOctets

Decode the "end-of-content" octets (two consecutive zero-octets) from the specified streamBuf and add the number of bytes consumed (which is always 2) to the specified accumNumBytesConsumed. Return 0 on success, and a non-zero value otherwise.

Synopsis

Declared in <balber_berutil.h>

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