Merge 976bfdb350 into 960752ea53
This commit is contained in:
commit
e8aea4981e
|
|
@ -158,13 +158,13 @@ function rQwait(msg, num, goback) {
|
||||||
// Private utility routines
|
// Private utility routines
|
||||||
//
|
//
|
||||||
|
|
||||||
function encode_message() {
|
function encode_message(sendQueue) {
|
||||||
if (mode === 'binary') {
|
if (mode === 'binary') {
|
||||||
// Put in a binary arraybuffer
|
// Put in a binary arraybuffer
|
||||||
return (new Uint8Array(sQ)).buffer;
|
return (new Uint8Array(sendQueue)).buffer;
|
||||||
} else {
|
} else {
|
||||||
// base64 encode
|
// base64 encode
|
||||||
return Base64.encode(sQ);
|
return Base64.encode(sendQueue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue