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

Function readString

packages/wasm-parser/src/reader/utils.ts:19–21  ·  view source on GitHub ↗
(reader: BinaryReader)

Source from the content-addressed store, hash-verified

17 * @return The UTF-8 string read from the binary data.
18 */
19export function readString(reader: BinaryReader): string {
20 return decoder.decode(readRawVector(reader));
21}
22
23/**
24 * Reads a byte from the BinaryReader and looks up its corresponding value in the provided map.

Callers 3

readCustomSectionFunction · 0.85
readImportFunction · 0.85
readExportFunction · 0.85

Calls 1

readRawVectorFunction · 0.85

Tested by

no test coverage detected