MCPcopy Create free account
hub / github.com/angular/dev-infra / createFrame

Function createFrame

github-actions/browserstack/set-browserstack-env.js:18230–18232  ·  view source on GitHub ↗
(data, hint)

Source from the content-addressed store, hash-verified

18228 * @returns {Buffer}
18229 */
18230 consume(n) {
18231 if (n > __privateGet(this, _byteOffset)) {
18232 throw new Error("Called consume() before buffers satiated.");
18233 } else if (n === 0) {
18234 return emptyBuffer;
18235 }

Callers 1

addMethod · 0.70

Calls 2

toBufferFunction · 0.70
createFrameMethod · 0.45

Tested by

no test coverage detected