16 #if !defined(XALANUTF16WRITER_HEADER_GUARD_1357924680)
17 #define XALANUTF16WRITER_HEADER_GUARD_1357924680
23 XALAN_CPP_NAMESPACE_BEGIN
35 MemoryManager& theMemoryManager);
59 const XalanDOMChar chars[],
77 write(data, theLength);
86 write(data, theLength);
95 write(data, theLength);
100 const XalanDOMChar* theChars,
103 write(theChars, theLength);
111 if (theLength >
sizeof(m_buffer))
119 if (m_bufferRemaining < theLength)
126 *m_bufferPosition = theChars[i];
131 m_bufferRemaining -= theLength;
146 if (m_bufferRemaining == 0)
151 *m_bufferPosition = theChar;
171 const XalanDOMChar* theChars,
174 write(theChars, theLength);
187 reinterpret_cast<const char*>(m_buffer),
189 (m_bufferPosition - m_buffer) *
sizeof m_buffer[0]);
192 m_bufferPosition = m_buffer;
193 m_bufferRemaining = kBufferSize;
215 XALAN_CPP_NAMESPACE_END
219 #endif // XALANUTF16WRITER_HEADER_GUARD_1357924680