template <typename StringClass>
class StringByteSink
Defined at line 291 of file ../../third_party/icu/default/source/common/unicode/bytestream.h
Implementation of ByteSink that writes to a "string".
The StringClass is usually instantiated with a std::string or a std::u8string.
StringClass must have public member functions reserve(integer type), capacity(), length(), and
append(value type, integer type) with the same semantics as those of std::basic_string, and must
have an 8-bit value type. If the value type is not char, it must be a public member type
StringClass::value_type.
ICU 4.2
Public Methods
void StringByteSink<StringClass> (StringClass * dest)
Constructs a ByteSink that will append bytes to the dest string.
Parameters
Defined at line 299 of file ../../third_party/icu/default/source/common/unicode/bytestream.h
void StringByteSink<StringClass> (StringClass * dest, int32_t initialAppendCapacity)
Constructs a ByteSink that reserves append capacity and will append bytes to the dest string.
Parameters
Defined at line 307 of file ../../third_party/icu/default/source/common/unicode/bytestream.h
void Append (const char * data, int32_t n)
Append "bytes[0,n-1]" to this.
Parameters
Defined at line 319 of file ../../third_party/icu/default/source/common/unicode/bytestream.h