MCPcopy Create free account
hub / github.com/NaturalIntelligence/fast-xml-parser / _transform

Method _transform

src/cli/read.js:12–16  ·  view source on GitHub ↗
(chunk, encoding, done)

Source from the content-addressed store, hash-verified

10 }
11
12 _transform(chunk, encoding, done) {
13 this._buffer += chunk.toString(this._encoding);
14 this.push(chunk);
15 done();
16 }
17
18 _flush(done) {
19 this.emit('complete', null, this._buffer);

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected