Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ testBinary
Function
testBinary
packages/engine.io-client/test/connection.js:132–137 ·
view source on GitHub ↗
(data)
Source
from the content-addressed store, hash-verified
130
};
131
132
function
testBinary(data) {
133
const
byteArray =
new
Uint8Array(data);
134
for
(
let
i = 0; i < byteArray.byteLength; i++) {
135
expect(byteArray[i]).to.be(i);
136
}
137
}
138
});
139
}
140
Callers
1
connection.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected