MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / toUtf8String

Function toUtf8String

lib.esm/utils/utf8.js:210–212  ·  view source on GitHub ↗
(bytes, onError)

Source from the content-addressed store, hash-verified

208 * (default: [error](Utf8ErrorFuncs))
209 */
210export function toUtf8String(bytes, onError) {
211 return _toUtf8String(getUtf8CodePoints(bytes, onError));
212}
213/**
214 * Returns the UTF-8 code-points for %%str%%.
215 *

Callers 15

bodyTextMethod · 0.90
assertOkMethod · 0.90
_parseStringFunction · 0.90
fetchMethod · 0.90
createProviderFunction · 0.90
test-utils-utf8.tsFile · 0.90
toStringFunction · 0.90
loadWordsFunction · 0.90
getHangulFunction · 0.90
decodeBytes32StringFunction · 0.90
decodeMethod · 0.90
bodyTextMethod · 0.90

Calls 2

_toUtf8StringFunction · 0.70
getUtf8CodePointsFunction · 0.70

Tested by

no test coverage detected