mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 04:27:59 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
export class TextEncoder {
|
||||
encode(value) {
|
||||
const count = value.length;
|
||||
const u8a = new Uint8Array(count);
|
||||
for (let i = 0; i < count; i++) {
|
||||
u8a[i] = value.charCodeAt(i);
|
||||
}
|
||||
return u8a;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user