MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / encoding

Method encoding

packages/core/text/text-common.ts:91–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89
90export class TextEncoder {
91 public get encoding() {
92 return 'utf-8';
93 }
94
95 public encode(input = ''): Uint8Array {
96 // 0xc0 => 0b11000000; 0xff => 0b11111111; 0xc0-0xff => 0b11xxxxxx

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected