| 287 | } |
| 288 | |
| 289 | bool Convert(mbchar_t** ppBuf, size_t* pnBufferLeft, const dbchar_t** ppSrc, size_t* pnSourceLeft) |
| 290 | { |
| 291 | cDebug d("ToUTF8Convert::Convert< mbchar_t, dbchar_t >()"); |
| 292 | |
| 293 | // store the non char value |
| 294 | m_lb.push_back(cConvertUtil::ConvertNonChar(**ppSrc)); |
| 295 | |
| 296 | // flag 'invalid char' |
| 297 | **ppBuf = (mbchar_t)UTF8_Util::INVALID_VALUE; |
| 298 | |
| 299 | //-- Decrement counters |
| 300 | *pnSourceLeft -= sizeof(dbchar_t); // Decrement Source Left |
| 301 | *pnBufferLeft -= sizeof(mbchar_t); // Decrement Buffer Left |
| 302 | |
| 303 | //-- Reposition pointers |
| 304 | (*ppSrc)++; // Skip one SourceT fwd |
| 305 | (*ppBuf)++; // Skip one BufferT fwd |
| 306 | |
| 307 | return true; |
| 308 | } |
| 309 | |
| 310 | bool Convert(mbchar_t** ppBuf, size_t* pnBufferLeft, const mbchar_t** ppSrc, size_t* pnSourceLeft) |
| 311 | { |
nothing calls this directly
no outgoing calls
no test coverage detected