match node-serial data event return of a buffer

Match node-serialport return of a buffer