18 #if !defined(XALANUTF16WRITER_HEADER_GUARD_1357924680)
19 #define XALANUTF16WRITER_HEADER_GUARD_1357924680
25 XALAN_CPP_NAMESPACE_BEGIN
37 MemoryManager& theMemoryManager);
61 const XalanDOMChar chars[],
78 const XalanDOMChar* data,
81 write(data, theLength);
89 const XalanDOMChar* data,
92 write(data, theLength);
100 const XalanDOMChar* data,
103 write(data, theLength);
108 const XalanDOMChar* theChars,
111 write(theChars, theLength);
119 if (theLength > kBufferSize)
127 if (m_bufferRemaining < theLength)
134 *m_bufferPosition = theChars[i];
139 m_bufferRemaining -= theLength;
154 if (m_bufferRemaining == 0)
159 *m_bufferPosition = theChar;
179 const XalanDOMChar* theChars,
182 write(theChars, theLength);
197 m_bufferPosition - m_buffer);
200 m_bufferPosition = m_buffer;
201 m_bufferRemaining = kBufferSize;
223 XALAN_CPP_NAMESPACE_END
227 #endif // XALANUTF16WRITER_HEADER_GUARD_1357924680