Write to this stream the one‐byte type indicator for a length (see putLength), the length of the specified value (see putLength), the one‐byte type indicator for an array of one‐byte unsigned integers, and an array of one‐byte, two's complement unsigned integers comprised of the least‐significant one byte of each character in the value, and return a reference to this stream. If this stream is initially invalid, this operation has no effect. If the next output operation has been set to be marked invalid (see makeNextInvalid), reset this marking and emit the invalid indicator instead of the type indicator.

Synopsis

Declared in <bslx_testoutstream.h>

TestOutStream&
putString(bsl::string const& value);

Created with MrDocs