We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2642f60 commit 4001891Copy full SHA for 4001891
lib/parser.js
@@ -206,7 +206,6 @@ function parseArray (parser) {
206
* @param type
207
* @returns {*}
208
*/
209
-
210
function parseType (parser, type) {
211
switch (type) {
212
case 36: // $
@@ -263,6 +262,12 @@ function JavascriptRedisParser (options) {
263
262
this.bufferCache = []
264
}
265
+/**
266
+ * Concat the collected chunks from parser.bufferCache
267
+ * @param parser
268
+ * @param length
269
+ * @returns {Buffer}
270
+ */
271
function concat (parser, length) {
272
var list = parser.bufferCache
273
var pos = 0
0 commit comments