Utkarsh Chauhan

Results 2 issues of Utkarsh Chauhan

used Buffer.alloc and .from in place of new Buffer object

Hello folks, i was looking at this code and i found out that substr method is deprecated on line 22. I have updated it with substring method.