Guillermo Rauch
|
ca02f2bfad
|
add comment per @christophwitzko
|
2014-06-24 15:20:18 -07:00 |
|
Christoph Witzko
|
d41f8e06da
|
fix decodePayloadAsBinary memory leak
|
2014-06-24 23:49:57 +02:00 |
|
Tony Kovanen
|
2da2fbbabc
|
Don't use the already deprecated binary buffer encoding
|
2014-05-30 16:04:38 +03:00 |
|
Tony Kovanen
|
067e286d2b
|
Use plain binary encoding for byte length since we're now using utf8.js
|
2014-05-30 14:15:27 +03:00 |
|
Joey Baker
|
b0e75f94c4
|
Don't pass too many arguments
`.apply()` has a max argument length which was easily exceeded by a large buffer. This makes more calls to `String.fromCharCode` but is guaranteed not to throw a `RangeError`.
More on max argument size: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply#Using_apply_and_built-in_functions
|
2014-05-05 15:02:08 -07:00 |
|
Tony Kovanen
|
52bc2f8c03
|
Encode strings with utf8.js to support multibyte strings
|
2014-04-30 01:23:35 +03:00 |
|
Naoyuki Kanezawa
|
14728f9a77
|
fix encodePayloadAsBinary method encodes packets to base64
|
2014-04-02 00:41:40 +09:00 |
|
binlain
|
395ff6f86f
|
Fix length calculation when encoding as binary
|
2014-03-26 00:11:02 +01:00 |
|
Tony Kovanen
|
112c37966b
|
Encoding binary as ArrayBuffer for android, because blob data is sent as empty payload
|
2014-03-16 14:28:04 +02:00 |
|
Tony Kovanen
|
ec08d1d004
|
Using the blob module for creating a blob constructor that abstracts the constructor api used
|
2014-03-07 00:35:46 +02:00 |
|
Tony Kovanen
|
56e1ce292d
|
Style, bump arraybuffer.slice version and remove nbsp
|
2014-03-06 22:49:24 +02:00 |
|
Guillermo Rauch
|
105fb8befe
|
moving code from engine.io-protocol
|
2014-02-18 13:06:06 -08:00 |
|