Skip to content

Commit 4001891

Browse files
author
Ruben Bridgewater
committed
Add jsdoc comment
1 parent 2642f60 commit 4001891

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/parser.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@ function parseArray (parser) {
206206
* @param type
207207
* @returns {*}
208208
*/
209-
210209
function parseType (parser, type) {
211210
switch (type) {
212211
case 36: // $
@@ -263,6 +262,12 @@ function JavascriptRedisParser (options) {
263262
this.bufferCache = []
264263
}
265264

265+
/**
266+
* Concat the collected chunks from parser.bufferCache
267+
* @param parser
268+
* @param length
269+
* @returns {Buffer}
270+
*/
266271
function concat (parser, length) {
267272
var list = parser.bufferCache
268273
var pos = 0

0 commit comments

Comments
 (0)