MCPcopy
hub / github.com/webpack/webpack / nextDataItem

Method nextDataItem

lib/serialization/BinaryMiddleware.js:184–191  ·  view source on GitHub ↗

Advances to the next data item (does not reset the position).

()

Source from the content-addressed store, hash-verified

182
183 /** Advances to the next data item (does not reset the position). */
184 nextDataItem() {
185 this.currentDataItem++;
186 this.currentBuffer =
187 this.currentDataItem < this.data.length
188 ? this.data[this.currentDataItem]
189 : null;
190 this.currentIsBuffer = Buffer.isBuffer(this.currentBuffer);
191 }
192
193 checkOverflow() {
194 if (

Callers 4

checkOverflowMethod · 0.95
readMethod · 0.95
_deserializeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected