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

Function validateOffset

lib/buffer.js:133–134  ·  view source on GitHub ↗
(value, name, min = 0, max = kMaxLength)

Source from the content-addressed store, hash-verified

131} = require('internal/validators');
132// Provide validateInteger() but with kMaxLength as the default maximum value.
133const validateOffset = (value, name, min = 0, max = kMaxLength) =>
134 validateInteger(value, name, min, max);
135
136const {
137 FastBuffer,

Callers 2

buffer.jsFile · 0.85
_fillFunction · 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…