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

Method encoding

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

Source from the content-addressed store, hash-verified

63
64export class TextDecoder {
65 public get encoding() {
66 return 'utf-8';
67 }
68
69 public decode(input: BufferSource): string {
70 const buffer = ArrayBuffer.isView(input) ? input.buffer : input;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected