MCPcopy Index your code
hub / github.com/python/cpython / prepareBuffer

Function prepareBuffer

Platforms/emscripten/streams.mjs:110–111  ·  view source on GitHub ↗
(buffer, offset, length)

Source from the content-addressed store, hash-verified

108}
109
110const prepareBuffer = (buffer, offset, length) =>
111 asUint8Array(buffer).subarray(offset, offset + length);
112
113const TTY_OPS = {
114 ioctl_tiocgwinsz(tty) {

Callers 1

streams.mjsFile · 0.85

Calls 1

asUint8ArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…