BloombergLP::balber::BerUtil::getEndOfContentOctets

Decode BER end-of-content octets from streamBuf.

Synopsis

Declared in <balber_berutil.h>

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

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
streamBufinput stream buffer
accumNumBytesConsumedrunning total of bytes consumed; incremented by this call