[#BloombergLP-balber-BerUtil-getIdentifierOctets] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil.adoc[BerUtil]::getIdentifierOctets :relfileprefix: ../../../ :mrdocs: Decode BER identifier octets from `streamBuf`. == Synopsis Declared in `<balber_berutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int getIdentifierOctets( std::streambuf* streamBuf, xref:BloombergLP/balber/BerConstants/TagClass.adoc[BerConstants::TagClass]* tagClass, xref:BloombergLP/balber/BerConstants/TagType.adoc[BerConstants::TagType]* tagType, int* tagNumber, int* accumNumBytesConsumed); ---- == Description `tagNumber` respectively. Add the number of bytes consumed to the specified `accumNumBytesConsumed`. Return 0 on success, and a non‐zero value otherwise. == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *streamBuf* | input stream buffer | *tagClass* | destination for the BER tag class | *tagType* | destination for the BER tag type | *tagNumber* | destination for the BER tag number | *accumNumBytesConsumed* | running total of bytes consumed; incremented by this call |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#