binary-parser icon indicating copy to clipboard operation
binary-parser copied to clipboard

encode() return type should be Buffer and not any

Open sokudo opened this issue 4 years ago • 0 comments

Documentation says: Encoded result will be returned as a Buffer object.

Parser.encode() is declared as encode(obj: any): any; in binary_parser.d.ts

Parser.encode() return type should be declared as Buffer

sokudo avatar Jul 28 '21 19:07 sokudo