MCPcopy Index your code
hub / github.com/apache/tvm / requestBytes

Method requestBytes

web/src/rpc_server.ts:437–439  ·  view source on GitHub ↗
(nbytes: number)

Source from the content-addressed store, hash-verified

435 }
436
437 private requestBytes(nbytes: number): void {
438 this.pendingBytes += nbytes;
439 }
440
441 private readFromBuffer(nbytes: number): Uint8Array {
442 const ret = new Uint8Array(nbytes);

Callers 6

onOpenMethod · 0.95
onDataReadyMethod · 0.95
onPacketReadyMethod · 0.95
asyncInitServerMethod · 0.95
handleInitHeaderMethod · 0.95
handleInitHeaderKeyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected