MCPcopy Index your code
hub / github.com/lutzroeder/netron / skip

Method skip

source/python.js:22561–22566  ·  view source on GitHub ↗
(offset)

Source from the content-addressed store, hash-verified

22559 }
22560
22561 skip(offset) {
22562 this._position += offset;
22563 if (this._position > this._buffer.length) {
22564 throw new python.Error(`Expected ${this._position - this._buffer.length} more bytes. The file might be corrupted. Unexpected end of file.`);
22565 }
22566 }
22567
22568 stream(length) {
22569 const buffer = this.read(length);

Callers 12

valueMethod · 0.45
extensionMethod · 0.45
peekMethod · 0.45
readMethod · 0.45
byteMethod · 0.45
uint16Method · 0.45
int32Method · 0.45
uint32Method · 0.45
int64Method · 0.45
float64Method · 0.45
lineMethod · 0.45
streamMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected