mirror of
https://github.com/openharmony/js_util_module.git
synced 2026-07-19 18:23:35 -04:00
@@ -62,7 +62,7 @@ namespace OHOS::Util {
|
||||
napi_value TextDecoder::Decode(napi_value src, bool iflag)
|
||||
{
|
||||
uint32_t flags = 0;
|
||||
flags |= iflag ? 0 : static_cast<uint32_t>(ConverterFlags::FLUSH_FLG);
|
||||
flags |= (iflag ? 0 : static_cast<uint32_t>(ConverterFlags::FLUSH_FLG));
|
||||
UBool flush = ((flags & static_cast<uint32_t>(ConverterFlags::FLUSH_FLG))) ==
|
||||
static_cast<uint32_t>(ConverterFlags::FLUSH_FLG);
|
||||
napi_typedarray_type type;
|
||||
|
||||
Reference in New Issue
Block a user