Read the specified length number of bytes from the input sequence of the specified streamBuf and load to the specified value the interpretation of those.

Synopses

Declared in <balber_berutil.h>

Read the specified length number of bytes from the input sequence of the specified streamBuf and load to the specified value the interpretation of those.

static
int
getIntegerValue(
    long long* value,
    std::streambuf* streamBuf,
    int length);

Read the specified length number of bytes from the input sequence of the specified streamBuf and load to the specified value the interpretation of those.

template<typename INTEGRAL_TYPE>
static
int
getIntegerValue(
    INTEGRAL_TYPE* value,
    std::streambuf* streamBuf,
    int length);

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

value

destination for the decoded value

streamBuf

input stream buffer

length

number of content octets

Created with MrDocs