MCPcopy
hub / github.com/pyodide/pyodide / python2js_buffer.js

File python2js_buffer.js

src/core/python2js_buffer.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Determine type and endianness of data from format. This is a helper
3 * function for converting buffers from Python to JavaScript, used in
4 * PyProxyBufferMethods and in `toJs` on a buffer.

Callers

nothing calls this directly

Calls 5

swapFuncFunction · 0.85
sliceMethod · 0.80
setMethod · 0.80
subarrayMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected