MCPcopy Index your code
hub / github.com/dataease/SQLBot / Buffer

Function Buffer

frontend/public/swagger-ui-bundle.js:21526–21535  ·  view source on GitHub ↗
(s, o, i)

Source from the content-addressed store, hash-verified

21524 return (Object.setPrototypeOf(o, Buffer.prototype), o)
21525 }
21526 function Buffer(s, o, i) {
21527 if ('number' == typeof s) {
21528 if ('string' == typeof o)
21529 throw new TypeError(
21530 'The "string" argument must be of type string. Received type number'
21531 )
21532 return allocUnsafe(s)
21533 }
21534 return from(s, o, i)
21535 }
21536 function from(s, o, i) {
21537 if ('string' == typeof s)
21538 return (function fromString(s, o) {

Callers

nothing calls this directly

Calls 2

allocUnsafeFunction · 0.85
fromFunction · 0.85

Tested by

no test coverage detected