binary-parser
binary-parser copied to clipboard
encode() return type should be Buffer and not any
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