MCPcopy Index your code
hub / github.com/nodejs/node / bufferSize

Function bufferSize

lib/dgram.js:248–258  ·  view source on GitHub ↗
(self, size, buffer)

Source from the content-addressed store, hash-verified

246}
247
248function bufferSize(self, size, buffer) {
249 if (size >>> 0 !== size)
250 throw new ERR_SOCKET_BAD_BUFFER_SIZE();
251
252 const ctx = {};
253 const ret = self[kStateSymbol].handle.bufferSize(size, buffer, ctx);
254 if (ret === undefined) {
255 throw new ERR_SOCKET_BUFFER_SIZE(ctx);
256 }
257 return ret;
258}
259
260// Query primary process to get the server handle and utilize it.
261function bindServerHandle(self, options, errCb) {

Callers 2

startReceivingFunction · 0.85
dgram.jsFile · 0.85

Calls 1

bufferSizeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…