[#BloombergLP-balber-BerUtil-getIdentifierOctets]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil.adoc[BerUtil]::getIdentifierOctets
:relfileprefix: ../../../
:mrdocs:

Decode the identifier octets from the specified `streamBuf` and load the tag class, tag type, and tag number to the specified `tagClass`, `tagType`, and `tagNumber` respectively&period; Add the number of bytes consumed to the specified `accumNumBytesConsumed`&period; Return 0 on success, and a non&hyphen;zero value otherwise&period;

== Synopsis

Declared in `&lt;balber&lowbar;berutil&period;h&gt;`

[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);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
