Encode the specified length to the specified streamBuf.

Synopsis

Declared in <balber_berutil.h>

static
int
putLength(
    std::streambuf* streamBuf,
    int length);

Description

Return 0 on success, and a non‐zero value otherwise. The behavior is undefined unless 0 <= length.

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

streamBuf

output stream buffer

length

length quantity to encode

Created with MrDocs