We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
recv_message, caught exception: RangeError: Maximum call stack size exceeded at Object.rQshiftStr (http://localhost/websock.js:124:32) at Object.message (http://localhost/terminal.js:48:20) at WebSocket.recv_message (http://localhost/websock.js:234:27)
String.fromcharcode.apply throws exception for data > 65535
fixed: function rQshiftStr(len) { if (typeof(len) === 'undefined') { len = rQlen(); } var arr = rQ.slice(rQi, rQi + len); rQi += len; var string = ''; for (var i = 0; i < arr.length; i++) { string += String.fromCharCode(arr[i]); } return string; //return String.fromCharCode.apply(null, arr); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
recv_message, caught exception: RangeError: Maximum call stack size exceeded
at Object.rQshiftStr (http://localhost/websock.js:124:32)
at Object.message (http://localhost/terminal.js:48:20)
at WebSocket.recv_message (http://localhost/websock.js:234:27)
String.fromcharcode.apply throws exception for data > 65535
fixed:
function rQshiftStr(len) {
if (typeof(len) === 'undefined') { len = rQlen(); }
var arr = rQ.slice(rQi, rQi + len);
rQi += len;
var string = '';
for (var i = 0; i < arr.length; i++) {
string += String.fromCharCode(arr[i]);
}
return string;
//return String.fromCharCode.apply(null, arr);
}
The text was updated successfully, but these errors were encountered: