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

Function getReadFileBufferByteLengthName

lib/internal/fs/utils.js:1052–1056  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

1050});
1051
1052function getReadFileBufferByteLengthName(options) {
1053 return typeof options.buffer === 'function' ?
1054 'options.buffer().byteLength' :
1055 'options.buffer.byteLength';
1056}
1057
1058const getReadFileBuffer = hideStackFrames((options, size) => {
1059 let { buffer } = options;

Callers 4

readFileSyncFunction · 0.85
utils.jsFile · 0.85
prepareMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…