Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
swapFunc
Function · 0.85
slice
Method · 0.80
set
Method · 0.80
subarray
Method · 0.80
push
Method · 0.45
Tested by
no test coverage detected