INNER CODE UNIT · JavaScript
parse
nodejs/undici · lib/milo/src/no-simd/index.js:34
function parse (parser, data, limit) {
return this.parse(parser, data, limit) >>> 0
}
function fail (parser, code, description) {
const len = description.length
const ptr = this.alloc(len)
const buffer = new Uint8Array(this.memory.buffer, ptr, len)
textEncoder.encodeInto(description, buffer)
this.fail(parser, code, ptr, len)
this.dealloc(ptr, len)
}
function hasDebug () {
return this.milo_has_debug() !== 0
}