// © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html // bytesinkutil.h // created: 2017sep14 Markus W. Scherer #ifndef BYTESINKUTIL_H #define BYTESINKUTIL_H #include <type_traits> #include "unicode/utypes.h" #include "unicode/bytestream.h" #include "unicode/edits.h" #include "charstr.h" #include "cmemory.h" #include "uassert.h" #include "ustr_imp.h" U_NAMESPACE_BEGIN class ByteSink; class Edits; class U_COMMON_API CharStringByteSink : public ByteSink { … }; // CharString doesn't provide the public API that StringByteSink requires a // string class to have so this template specialization replaces the default // implementation of StringByteSink<CharString> with CharStringByteSink. template<> class StringByteSink<CharString> : public CharStringByteSink { … }; class U_COMMON_API ByteSinkUtil { … }; U_NAMESPACE_END #endif //BYTESINKUTIL_H