MCPcopy Create free account
hub / github.com/callstackincubator/polygen / skip

Method skip

packages/binary-utils/src/binary-reader.ts:60–62  ·  view source on GitHub ↗

* Moves the internal offset forward by the specified number. * * @param n - The number of positions to move the offset forward. * @return The new position of the internal offset after being moved.

(n: number)

Source from the content-addressed store, hash-verified

58 * @return The new position of the internal offset after being moved.
59 */
60 skip(n: number) {
61 this.offset += n;
62 }
63
64 /**
65 * Skips the binary data until the specified byte value is found.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected