MCPcopy
hub / github.com/callstack/agent-device / skipByteOrderMark

Method skipByteOrderMark

src/utils/xml.ts:99–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97 }
98
99 private skipByteOrderMark(): void {
100 if (this.xml.charCodeAt(0) === 0xfeff) {
101 this.index = 1;
102 }
103 }
104
105 private readOpeningTag(): void {
106 this.index += 1;

Callers 1

parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected