INNER CODE UNIT · JavaScript
create
nodejs/undici · lib/milo/src/no-simd/index.js:26
function create () {
return this.create() >>> 0
}
function destroy (parser) {
this.destroy(parser)
}
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)