Instead of trying to handle the receive queue as a typed array, just replace the base64 encode/decode with conversion from/to typed arrays and handle the receive and send queue as before (plain Javascript arrays). There is a lot of opportunity here for optimization of course, but for now it's more important that it work properly. |
||
|---|---|---|
| .. | ||
| web-socket-js | ||
| VT100.js | ||
| base64.js | ||
| keysym.js | ||
| util.js | ||
| websock.js | ||
| webutil.js | ||
| wsirc.js | ||
| wstelnet.js | ||