Write the first specified bufferLength number of bytes from the specified buffer to the specified streamBuf, as if by a call to `streamBuf‐>sputn(buffer.

Synopsis

Declared in <balber_berutil.h>

static
int
putChars(
    std::streambuf* streamBuf,
    char const* buffer,
    int bufferLength);

Description

bufferLength)`. Return 0 on success, and a non‐zero value otherwise.

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

streamBuf

output stream buffer

buffer

bytes to write

bufferLength

number of bytes to write

Created with MrDocs