Home
last modified time | relevance | path

Searched refs:TextEncoder (Results 1 – 25 of 62) sorted by relevance

123

/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.42/
H A Dchangelogs-arkts.md3 ## cl.arkts.1 util.TextEncoder模块utf-16le和utf-16be编码数据行为变更
11 TextEncoder编码器在编码格式设置为utf-16le和utf-16be时,获得的编码数据相反。
45 util.TextEncoder模块的接口:
53 变更描述: 修复TextEncoder编码器在编码格式设置为utf-16le和utf-16be时获取编码数据与定义不相符的BUG。
60 let encoderUtf16Le = new util.TextEncoder("utf-16le");
61 let encoderUtf16Be = new util.TextEncoder("utf-16be");
78 let encoderUtf16Le = new util.TextEncoder("utf-16le");
79 let encoderUtf16Be = new util.TextEncoder("utf-16be");
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.42/
H A Dchangelogs-arkts.md3 ## cl.arkts.1 Encoding Behavior of utf-16le and utf-16be of the util.TextEncoder Module Changed
11 When TextEncoder uses the utf-16le or utf-16be encoding format, the encoded data obtained is incorr…
45 APIs of the util.TextEncoder module:
60 let encoderUtf16Le = new util.TextEncoder("utf-16le");
61 let encoderUtf16Be = new util.TextEncoder("utf-16be");
78 let encoderUtf16Le = new util.TextEncoder("utf-16le");
79 let encoderUtf16Be = new util.TextEncoder("utf-16be");
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.1.1/
H A Dchangelogs-arkts.md77 ## cl.arkts.2 util.TextEncoder模块utf-16le和utf-16be编码数据行为变更
85 TextEncoder编码器在编码格式设置为utf-16le和utf-16be时,获得的编码数据相反。
111 util.TextEncoder模块的接口:
118 变更描述: 修复TextEncoder编码器在编码格式设置为utf-16le和utf-16be时获取编码数据与定义不相符的BUG。
125 let encoderUtf16Le = new util.TextEncoder("utf-16le");
126 let encoderUtf16Be = new util.TextEncoder("utf-16be");
143 let encoderUtf16Le = new util.TextEncoder("utf-16le");
144 let encoderUtf16Be = new util.TextEncoder("utf-16be");
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.35/
H A Dchangelogs-arkcompiler.md81 ## cl.arkcompiler.3 TextEncoder.encodeInto()接口变更
89 TextEncoder.encodeInto编码字符串,当字符串中每多一个'\0'字符,返回的数组长度会增加2,长度异常。
114 TextEncoder.encodeInto
118 针对TextEncoder.encodeInto编码字符串时,注意返回的数组长度。
/ohos5.0/docs/zh-cn/application-dev/arkts-utils/
H A Dxml-parsing.md47 let textEncoder: util.TextEncoder = new util.TextEncoder();
115 let textEncoder: util.TextEncoder = new util.TextEncoder();
160 let textEncoder: util.TextEncoder = new util.TextEncoder();
212 let textEncoder: util.TextEncoder = new util.TextEncoder();
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/
H A Djs_textencoder.h28 class TextEncoder {
35 explicit TextEncoder(const std::string &encoding) : encoding_(encoding) {} in TextEncoder() function
40 virtual ~TextEncoder() {} in ~TextEncoder()
H A Djs_textencoder.cpp25 napi_value TextEncoder::GetEncoding(napi_env env) const in GetEncoding()
33 napi_value TextEncoder::Encode(napi_env env, napi_value src) const in Encode()
67 napi_value TextEncoder::EncodeInto(napi_env env, napi_value src, napi_value dest) const in EncodeInto()
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.1.1/
H A Dchangelogs-arkts.md78 ## cl.arkts.2 Encoding Behavior of utf-16le and utf-16be of the util.TextEncoder Module Changed
86 When TextEncoder uses the utf-16le or utf-16be encoding format, the encoded data obtained is incorr…
118 APIs of the util.TextEncoder module:
132 let encoderUtf16Le = new util.TextEncoder("utf-16le");
133 let encoderUtf16Be = new util.TextEncoder("utf-16be");
150 let encoderUtf16Le = new util.TextEncoder("utf-16le");
151 let encoderUtf16Be = new util.TextEncoder("utf-16be");
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.35/
H A Dchangelogs-arkcompiler.md85 ## cl.arkcompiler.3 Changes in TextEncoder.encodeInto()
93 When **TextEncoder.encodeInto** is used to encode a string, the length of the returned array incorr…
118 TextEncoder.encodeInto
122 When encoding a string using **TextEncoder.encodeInto**, pay attention to the length of the returne…
/ohos5.0/docs/en/application-dev/arkts-utils/
H A Dxml-parsing.md47 let textEncoder: util.TextEncoder = new util.TextEncoder();
109 let textEncoder: util.TextEncoder = new util.TextEncoder();
154 let textEncoder: util.TextEncoder = new util.TextEncoder();
206 let textEncoder: util.TextEncoder = new util.TextEncoder();
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/
H A Djs-apis-xml.md476 let textEncoder = new util.TextEncoder();
515 let textEncoder = new util.TextEncoder();
569 let textEncoder = new util.TextEncoder();
634 let textEncoder = new util.TextEncoder();
678 let textEncoder = new util.TextEncoder();
714 let textEncoder = new util.TextEncoder();
750 let textEncoder = new util.TextEncoder();
789 let textEncoder = new util.TextEncoder();
828 let textEncoder = new util.TextEncoder();
864 let textEncoder = new util.TextEncoder();
[all …]
/ohos5.0/commonlibrary/ets_utils/js_util_module/stream/src/
H A Dstream_js.ts19 const { TextEncoder, StringDecoder } = requireNapi('util');
141 protected encoder = new TextEncoder();
188 this.encoder = new TextEncoder(this.readableEncodingInner);
428 this.encoder = new TextEncoder(this.readableEncodingInner);
441 this.encoder = new TextEncoder(encoding);
715 protected encoder = new TextEncoder();
1167 this.encoder = new TextEncoder(encoding);
/ohos5.0/docs/zh-cn/application-dev/security/AssetStoreKit/
H A Dasset-js-query.md58 let textEncoder = new util.TextEncoder();
98 let textEncoder = new util.TextEncoder();
130 let textEncoder = new util.TextEncoder();
H A Dasset-js-remove.md49 let textEncoder = new util.TextEncoder();
/ohos5.0/docs/zh-cn/application-dev/reference/apis-asset-store-kit/
H A Djs-apis-asset.md69 let textEncoder = new util.TextEncoder();
138 let textEncoder = new util.TextEncoder();
203 let textEncoder = new util.TextEncoder();
263 let textEncoder = new util.TextEncoder();
328 let textEncoder = new util.TextEncoder();
393 let textEncoder = new util.TextEncoder();
460 let textEncoder = new util.TextEncoder();
529 let textEncoder = new util.TextEncoder();
594 let textEncoder = new util.TextEncoder();
667 let textEncoder = new util.TextEncoder();
H A Djs-apis-asset-sys.md72 let textEncoder = new util.TextEncoder();
145 let textEncoder = new util.TextEncoder();
218 let textEncoder = new util.TextEncoder();
293 let textEncoder = new util.TextEncoder();
366 let textEncoder = new util.TextEncoder();
/ohos5.0/docs/en/application-dev/reference/apis-arkts/
H A Djs-apis-xml.md476 let textEncoder = new util.TextEncoder();
515 let textEncoder = new util.TextEncoder();
569 let textEncoder = new util.TextEncoder();
634 let textEncoder = new util.TextEncoder();
678 let textEncoder = new util.TextEncoder();
714 let textEncoder = new util.TextEncoder();
750 let textEncoder = new util.TextEncoder();
789 let textEncoder = new util.TextEncoder();
828 let textEncoder = new util.TextEncoder();
864 let textEncoder = new util.TextEncoder();
[all …]
/ohos5.0/docs/zh-cn/application-dev/security/DeviceCertificateKit/
H A Dcreate-get-cert-crl-object.md39 let textEncoder = new util.TextEncoder();
66 let textEncoder = new util.TextEncoder();
H A Dcreate-parse-verify-certextension-object.md41 let textEncoder = new util.TextEncoder();
H A Dcreate-parse-verify-cert-object.md43 let textEncoder = new util.TextEncoder();
/ohos5.0/docs/en/application-dev/security/DeviceCertificateKit/
H A Dcreate-get-cert-crl-object.md39 let textEncoder = new util.TextEncoder();
66 let textEncoder = new util.TextEncoder();
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/test/
H A Dtest_util.cpp190 OHOS::Util::TextEncoder textEncoder("GBK");
274 OHOS::Util::TextEncoder textEncoder("utf-8");
308 OHOS::Util::TextEncoder textEncoder("utf-8");
336 OHOS::Util::TextEncoder textEncoder("utf-8");
370 OHOS::Util::TextEncoder textEncoder("gbk");
403 OHOS::Util::TextEncoder textEncoder("utf-8");
419 OHOS::Util::TextEncoder textEncoder("big5");
593 OHOS::Util::TextEncoder textEncoder("utf-8");
635 OHOS::Util::TextEncoder textEncoder("utf-8");
677 OHOS::Util::TextEncoder textEncoder("utf-8");
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.38/
H A Dchangelogs-arkts.md41 let textEncoder = new util.TextEncoder();
/ohos5.0/docs/en/application-dev/reference/apis-asset-store-kit/
H A Djs-apis-asset-sys.md72 let textEncoder = new util.TextEncoder();
145 let textEncoder = new util.TextEncoder();
218 let textEncoder = new util.TextEncoder();
293 let textEncoder = new util.TextEncoder();
366 let textEncoder = new util.TextEncoder();
/ohos5.0/docs/en/application-dev/security/AssetStoreKit/
H A Dasset-js-query.md58 let textEncoder = new util.TextEncoder();
98 let textEncoder = new util.TextEncoder();
130 let textEncoder = new util.TextEncoder();

123