x/polkadot/x-textencoder/fallback.ts
12345678910111213export class TextEncoder { encode (value: string): Uint8Array { const u8a = new Uint8Array(value.length); for (let i = 0; i < value.length; i++) { u8a[i] = value.charCodeAt(i); } return u8a; }}