MCPcopy Create free account

hub / github.com/dop251/goja_nodejs / functions

Functions467 in github.com/dop251/goja_nodejs

Methodrequire
(call js.FunctionCall)
require/module.go:214
FunctionsameValue
(actual, expected, message)
assert.js:57
MethodsetImmediate
(call goja.FunctionCall)
eventloop/eventloop.go:143
MethodsetInterval
(call goja.FunctionCall)
eventloop/eventloop.go:139
MethodsetTimeout
(call goja.FunctionCall)
eventloop/eventloop.go:135
Methodstart
(loop *EventLoop, timeout time.Duration)
eventloop/eventloop.go:408
Functiontest
()
require/testdata/m.js:1
Functionthrows
(f, ctor, message)
assert.js:209
FunctionthrowsNodeError
(f, ctor, code, message)
assert.js:215
FunctionthrowsNodeErrorWithMessage
(f, ctor, code, errorMessage, message)
assert.js:222
FunctiontoString
()
url/testdata/url_test.js:176
FunctionvalueOf
()
url/testdata/url_test.js:179
Methodwrite
write will write a string to the Buffer at offset according to the character encoding. The length parameter is the number of bytes to write. If buffer
buffer/buffer.go:701
Methodwrite
* Writes `string` to `buf` at `offset` according to the character encoding in`encoding`. The `length` parameter is the number of bytes to write. If `b
buffer/types/buffer.d.ts:166
MethodwriteBigInt64BE
writeBigInt64BE writes a big-endian 64-bit signed integer to the buffer
buffer/buffer.go:722
MethodwriteBigInt64BE
* Writes `value` to `buf` at the specified `offset` as big-endian. * * `value` is interpreted and written as a two's complem
buffer/types/buffer.d.ts:285
MethodwriteBigInt64LE
writeBigInt64LE writes a little-endian 64-bit signed integer to the buffer
buffer/buffer.go:734
MethodwriteBigInt64LE
* Writes `value` to `buf` at the specified `offset` as little-endian. * * `value` is interpreted and written as a two's comp
buffer/types/buffer.d.ts:306
MethodwriteBigUInt64BE
writeBigUInt64BE writes a big-endian 64-bit unsigned integer to the buffer
buffer/buffer.go:746
MethodwriteBigUInt64BE
* Writes `value` to `buf` at the specified `offset` as big-endian. * * This function is also available under the `writeBigUi
buffer/types/buffer.d.ts:327
MethodwriteBigUInt64LE
writeBigUInt64LE writes a little-endian 64-bit unsigned integer to the buffer
buffer/buffer.go:758
MethodwriteBigUInt64LE
* Writes `value` to `buf` at the specified `offset` as little-endian * * ```js * import { Buffer } from 'node:b
buffer/types/buffer.d.ts:353
MethodwriteBigUint64BE
* @alias Buffer.writeBigUInt64BE * @since v14.10.0, v12.19.0
buffer/types/buffer.d.ts:332
MethodwriteBigUint64LE
* @alias Buffer.writeBigUInt64LE * @since v14.10.0, v12.19.0
buffer/types/buffer.d.ts:358
MethodwriteDoubleBE
writeDoubleBE writes a big-endian 64-bit double to the buffer
buffer/buffer.go:770
MethodwriteDoubleBE
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a JavaScript number. Behavior is undefined when `value` is anyt
buffer/types/buffer.d.ts:1249
MethodwriteDoubleLE
writeDoubleLE writes a little-endian 64-bit double to the buffer
buffer/buffer.go:782
MethodwriteDoubleLE
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a JavaScript number. Behavior is undefined when `value` is a
buffer/types/buffer.d.ts:1229
MethodwriteFloatBE
writeFloatBE writes a big-endian 32-bit float to the buffer
buffer/buffer.go:794
MethodwriteFloatBE
* Writes `value` to `buf` at the specified `offset` as big-endian. Behavior is * undefined when `value` is anything other than a JavaScri
buffer/types/buffer.d.ts:1209
MethodwriteFloatLE
writeFloatLE writes a little-endian 32-bit floating-point number to the buffer
buffer/buffer.go:808
MethodwriteFloatLE
* Writes `value` to `buf` at the specified `offset` as little-endian. Behavior is * undefined when `value` is anything other than a JavaS
buffer/types/buffer.d.ts:1189
MethodwriteInt16BE
writeInt16BE writes a big-endian 16-bit signed integer to the buffer
buffer/buffer.go:837
MethodwriteInt16BE
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 16-bit integer. Behavior is undefined when `val
buffer/types/buffer.d.ts:1125
MethodwriteInt16LE
writeInt16LE writes a little-endian 16-bit signed integer to the buffer
buffer/buffer.go:850
MethodwriteInt16LE
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 16-bit integer. Behavior is undefined when `
buffer/types/buffer.d.ts:1103
MethodwriteInt32BE
writeInt32BE writes a big-endian 32-bit signed integer to the buffer
buffer/buffer.go:863
MethodwriteInt32BE
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 32-bit integer. Behavior is undefined when `valu
buffer/types/buffer.d.ts:1169
MethodwriteInt32LE
writeInt32LE writes a little-endian 32-bit signed integer to the buffer
buffer/buffer.go:876
MethodwriteInt32LE
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 32-bit integer. Behavior is undefined when `v
buffer/types/buffer.d.ts:1147
MethodwriteInt8
writeInt8 writes an 8-bit signed integer to the buffer
buffer/buffer.go:822
MethodwriteInt8
* Writes `value` to `buf` at the specified `offset`. `value` must be a valid * signed 8-bit integer. Behavior is undefined when `value` i
buffer/types/buffer.d.ts:1081
MethodwriteIntBE
writeIntBE writes a big-endian signed integer of variable byte length
buffer/buffer.go:889
MethodwriteIntBE
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined when
buffer/types/buffer.d.ts:456
MethodwriteIntLE
writeIntLE writes a little-endian signed integer of variable byte length
buffer/buffer.go:906
MethodwriteIntLE
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined
buffer/types/buffer.d.ts:435
MethodwriteUInt16BE
writeUInt16BE writes a big-endian 16-bit unsigned integer to the buffer
buffer/buffer.go:938
MethodwriteUInt16BE
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 16-bit integer. Behavior is undefined when `va
buffer/types/buffer.d.ts:998
MethodwriteUInt16LE
writeUInt16LE writes a little-endian 16-bit unsigned integer to the buffer
buffer/buffer.go:951
MethodwriteUInt16LE
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 16-bit integer. Behavior is undefined when
buffer/types/buffer.d.ts:970
MethodwriteUInt32BE
writeUInt32BE writes a big-endian 32-bit unsigned integer to the buffer
buffer/buffer.go:964
MethodwriteUInt32BE
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 32-bit integer. Behavior is undefined when `va
buffer/types/buffer.d.ts:1052
MethodwriteUInt32LE
writeUInt32LE writes a little-endian 32-bit unsigned integer to the buffer
buffer/buffer.go:977
MethodwriteUInt32LE
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 32-bit integer. Behavior is undefined when
buffer/types/buffer.d.ts:1025
MethodwriteUInt8
writeUInt8 writes an 8-bit unsigned integer to the buffer
buffer/buffer.go:923
MethodwriteUInt8
* Writes `value` to `buf` at the specified `offset`. `value` must be a * valid unsigned 8-bit integer. Behavior is undefined when `value`
buffer/types/buffer.d.ts:942
MethodwriteUIntBE
writeUIntBE writes a big-endian unsigned integer of variable byte length
buffer/buffer.go:990
MethodwriteUIntBE
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined
buffer/types/buffer.d.ts:409
MethodwriteUIntLE
writeUIntLE writes a little-endian unsigned integer of variable byte length
buffer/buffer.go:1007
MethodwriteUIntLE
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined
buffer/types/buffer.d.ts:381
MethodwriteUint16BE
* @alias Buffer.writeUInt16BE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:1003
MethodwriteUint16LE
* @alias Buffer.writeUInt16LE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:975
MethodwriteUint32BE
* @alias Buffer.writeUInt32BE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:1057
MethodwriteUint32LE
* @alias Buffer.writeUInt32LE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:1030
MethodwriteUint8
* @alias Buffer.writeUInt8 * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:947
MethodwriteUintBE
* @alias Buffer.writeUIntBE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:414
MethodwriteUintLE
* @alias Buffer.writeUIntLE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:386
← previous401–467 of 467, ranked by callers