convert-buffer
convert from list type A to list type B.
var fs = convert = fs
api
convert(targetType[, howfunction][, decorateFunction]) -> stream
Convert input from whatever list type to targetType
(i.e., each new
chunk calls new targetType(input.length)
); assign params using output[N] = how(input, N)
;
additionally modify the output using decorateFunction
.
License
MIT