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

Function skipSection

packages/wasm-parser/src/reader/section-reader.ts:149–152  ·  view source on GitHub ↗

* Skips a section of a binary stream. * * @param reader The BinaryReader instance used to read the binary stream. * @param size The number of bytes to skip in the binary stream. * @return Always returns undefined.

(reader: BinaryReader, size: number)

Source from the content-addressed store, hash-verified

147 * @return Always returns undefined.
148 */
149function skipSection(reader: BinaryReader, size: number): Section | undefined {
150 reader.skip(size);
151 return undefined;
152}
153
154/**
155 * Reads a custom section from a binary reader and returns its representation.

Callers

nothing calls this directly

Calls 1

skipMethod · 0.45

Tested by

no test coverage detected