Lines Matching defs:TextDecoder
34 TextDecoder::TextDecoder(const std::string &buff, int32_t flags)
58 bool TextDecoder::CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Len)
79 std::pair<char *, bool> TextDecoder::ConvertToChar(UChar *uchar, size_t length, char *tempCharArray)
105 napi_value TextDecoder::Decode(napi_env env, napi_value src, bool iflag)
141 return ThrowError(env, "TextDecoder decoding error.");
162 napi_value TextDecoder::GetResultStr(napi_env env, UChar *arrDat,
189 napi_value TextDecoder::DecodeToString(napi_env env,
242 size_t TextDecoder::GetMinByteSize() const
251 void TextDecoder::Reset() const
259 void TextDecoder::FreedMemory(UChar *&pData)
267 void TextDecoder::SetBomFlag(const UChar *arr, const UErrorCode codeFlag, const DecodeArr decArr,
284 void TextDecoder::SetIgnoreBOM(const UChar *arr, size_t resultLen, bool &bomFlag)
301 napi_value TextDecoder::ThrowError(napi_env env, const char* errMessage)
321 const char* TextDecoder::ReplaceNull(void *data, size_t length) const