chore: update to version 14.0.11 and align website URLs

This commit is contained in:
2026-01-11 11:34:13 +03:00
parent ef74383349
commit 19c8d69bd8
1499 changed files with 53633 additions and 89 deletions
+24
View File
@@ -0,0 +1,24 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.u8aToString = u8aToString;
const x_textdecoder_1 = require("@pezkuwi/x-textdecoder");
const decoder = new x_textdecoder_1.TextDecoder('utf-8');
/**
* @name u8aToString
* @summary Creates a utf-8 string from a Uint8Array object.
* @description
* `UInt8Array` input values return the actual decoded utf-8 string. `null` or `undefined` values returns an empty string.
* @example
* <BR>
*
* ```javascript
* import { u8aToString } from '@pezkuwi/util';
*
* u8aToString(new Uint8Array([0x68, 0x65, 0x6c, 0x6c, 0x6f])); // hello
* ```
*/
function u8aToString(value) {
return value
? decoder.decode(value)
: '';
}