RafaelKa / node-serialport-enocean-parser

ESP3 parser for nodes serialport
Do What The F*ck You Want To Public License
6 stars 2 forks source link

add the raw buffer to the returned ESPPacket for convenience #2

Closed Holger-Will closed 8 years ago

RafaelKa commented 8 years ago

Previously was one approach, which makes each packet twice so big as needed(Also same Data is saved twice).

What Do you think about other appreach, where does the same but without downside of 2x size?

Also just Provide raw as function in ESP3Packet, which returns whole Buffer...

See PR #3