Home
last modified time | relevance | path

Searched refs:textEncoder (Results 1 – 25 of 38) sorted by relevance

12

/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/docs/zh-cn/application-dev/arkts-utils/
H A Dxml-parsing.md47 let textEncoder: util.TextEncoder = new util.TextEncoder();
48 let arrBuffer: Uint8Array = textEncoder.encodeInto(strXml); // 对数据编码,防止包含中文字符乱码
115 let textEncoder: util.TextEncoder = new util.TextEncoder();
116 let arrBuffer: Uint8Array = textEncoder.encodeInto(strXml); // 对数据编码,防止包含中文字符乱码
160 let textEncoder: util.TextEncoder = new util.TextEncoder();
161 let arrBuffer: Uint8Array = textEncoder.encodeInto(strXml); // 对数据编码,防止包含中文字符乱码
212 let textEncoder: util.TextEncoder = new util.TextEncoder();
213 let arrBuffer: Uint8Array = textEncoder.encodeInto(strXml);
/ohos5.0/docs/zh-cn/application-dev/security/AssetStoreKit/
H A Dasset-js-query.md58 let textEncoder = new util.TextEncoder();
59 return textEncoder.encodeInto(str);
98 let textEncoder = new util.TextEncoder();
99 return textEncoder.encodeInto(str);
130 let textEncoder = new util.TextEncoder();
131 return textEncoder.encodeInto(str);
H A Dasset-js-remove.md49 let textEncoder = new util.TextEncoder();
50 return textEncoder.encodeInto(str);
H A Dasset-js-add.md64 let textEncoder = new util.TextEncoder();
65 return textEncoder.encodeInto(str);
H A Dasset-js-update.md65 let textEncoder = new util.TextEncoder();
66 return textEncoder.encodeInto(str);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-asset-store-kit/
H A Djs-apis-asset.md69 let textEncoder = new util.TextEncoder();
70 return textEncoder.encodeInto(str);
139 return textEncoder.encodeInto(str);
204 return textEncoder.encodeInto(str);
264 return textEncoder.encodeInto(str);
329 return textEncoder.encodeInto(str);
394 return textEncoder.encodeInto(str);
461 return textEncoder.encodeInto(str);
530 return textEncoder.encodeInto(str);
595 return textEncoder.encodeInto(str);
[all …]
H A Djs-apis-asset-sys.md72 let textEncoder = new util.TextEncoder();
73 return textEncoder.encodeInto(str);
145 let textEncoder = new util.TextEncoder();
146 return textEncoder.encodeInto(str);
218 let textEncoder = new util.TextEncoder();
219 return textEncoder.encodeInto(str);
293 let textEncoder = new util.TextEncoder();
294 return textEncoder.encodeInto(str);
366 let textEncoder = new util.TextEncoder();
367 return textEncoder.encodeInto(str);
/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();
41 data: textEncoder.encodeInto(crlData),
66 let textEncoder = new util.TextEncoder();
68 data: textEncoder.encodeInto(certData),
H A Dcreate-verify-cerchainvalidator-object.md57 let textEncoder = new util.TextEncoder();
65 let uint8ArrayOfCaCertData = textEncoder.encodeInto(caCertData);
71 let uint8ArrayOf2ndCaCertData = textEncoder.encodeInto(secondCaCertData);
H A Dcreate-parse-verify-certextension-object.md41 let textEncoder = new util.TextEncoder();
62 data: textEncoder.encodeInto(oidData),
H A Dcreate-parse-verify-cert-object.md43 let textEncoder = new util.TextEncoder();
46 data: textEncoder.encodeInto(certData),
H A Dcreate-parse-verify-crl-object.md77 let textEncoder = new util.TextEncoder();
80 data: textEncoder.encodeInto(crlData),
130 data: textEncoder.encodeInto(certData),
H A Dcreate-verify-certchain-object.md80 let textEncoder = new util.TextEncoder();
83 data: textEncoder.encodeInto(certChainData),
/ohos5.0/docs/en/application-dev/arkts-utils/
H A Dxml-parsing.md47 let textEncoder: util.TextEncoder = new util.TextEncoder();
48 …let arrBuffer: Uint8Array = textEncoder.encodeInto(strXml); // Encode the data to prevent garbled …
109 let textEncoder: util.TextEncoder = new util.TextEncoder();
110 …let arrBuffer: Uint8Array = textEncoder.encodeInto(strXml); // Encode the data to prevent garbled …
154 let textEncoder: util.TextEncoder = new util.TextEncoder();
155 …let arrBuffer: Uint8Array = textEncoder.encodeInto(strXml); // Encode the data to prevent garbled …
206 let textEncoder: util.TextEncoder = new util.TextEncoder();
207 let arrBuffer: Uint8Array = textEncoder.encodeInto(strXml);
/ohos5.0/docs/en/application-dev/security/DeviceCertificateKit/
H A Dcreate-get-cert-crl-object.md39 let textEncoder = new util.TextEncoder();
41 data: textEncoder.encodeInto(crlData),
66 let textEncoder = new util.TextEncoder();
68 data: textEncoder.encodeInto(certData),
H A Dcreate-verify-cerchainvalidator-object.md57 let textEncoder = new util.TextEncoder();
65 let uint8ArrayOfCaCertData = textEncoder.encodeInto(caCertData);
71 let uint8ArrayOf2ndCaCertData = textEncoder.encodeInto(secondCaCertData);
H A Dcreate-parse-verify-certextension-object.md40 let textEncoder = new util.TextEncoder();
61 data: textEncoder.encodeInto(oidData),
H A Dcreate-parse-verify-crl-object.md77 let textEncoder = new util.TextEncoder();
80 data: textEncoder.encodeInto(crlData),
130 data: textEncoder.encodeInto(certData),
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/test/
H A Dtest_util.cpp190 OHOS::Util::TextEncoder textEncoder("GBK"); variable
191 textEncoder.SetOrgEncoding("GBK");
219 textEncoder.SetOrgEncoding("gb18030");
247 textEncoder.SetOrgEncoding("GB18030");
274 OHOS::Util::TextEncoder textEncoder("utf-8"); variable
308 OHOS::Util::TextEncoder textEncoder("utf-8"); variable
336 OHOS::Util::TextEncoder textEncoder("utf-8"); variable
370 OHOS::Util::TextEncoder textEncoder("gbk"); variable
403 OHOS::Util::TextEncoder textEncoder("utf-8"); variable
419 OHOS::Util::TextEncoder textEncoder("big5"); variable
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.38/
H A Dchangelogs-arkts.md41 let textEncoder = new util.TextEncoder();
42 let arrbuffer = textEncoder.encodeInto(strXml);
/ohos5.0/docs/en/application-dev/reference/apis-asset-store-kit/
H A Djs-apis-asset-sys.md72 let textEncoder = new util.TextEncoder();
73 return textEncoder.encodeInto(str);
145 let textEncoder = new util.TextEncoder();
146 return textEncoder.encodeInto(str);
218 let textEncoder = new util.TextEncoder();
219 return textEncoder.encodeInto(str);
293 let textEncoder = new util.TextEncoder();
294 return textEncoder.encodeInto(str);
366 let textEncoder = new util.TextEncoder();
367 return textEncoder.encodeInto(str);
H A Djs-apis-asset.md69 let textEncoder = new util.TextEncoder();
70 return textEncoder.encodeInto(str);
139 return textEncoder.encodeInto(str);
204 return textEncoder.encodeInto(str);
264 return textEncoder.encodeInto(str);
329 return textEncoder.encodeInto(str);
394 return textEncoder.encodeInto(str);
461 return textEncoder.encodeInto(str);
530 return textEncoder.encodeInto(str);
595 return textEncoder.encodeInto(str);
[all …]
/ohos5.0/docs/en/application-dev/security/AssetStoreKit/
H A Dasset-js-query.md58 let textEncoder = new util.TextEncoder();
59 return textEncoder.encodeInto(str);
98 let textEncoder = new util.TextEncoder();
99 return textEncoder.encodeInto(str);
130 let textEncoder = new util.TextEncoder();
131 return textEncoder.encodeInto(str);

12