ProtoDef-io / node-protodef

Describe your protocol, and read it with ease.
MIT License
31 stars 18 forks source link

encode buffers as hex instead of array of bytes in json tests ? #66

Open rom1504 opened 8 years ago

rom1504 commented 8 years ago

new Buffer("381905","hex") instead of new Buffer([0x38,0x19,0x05],"hex") Kind of shorter and clearer.

Saiv46 commented 4 years ago

Close this issue, we have Buffer.from

rom1504 commented 4 years ago

Yes the point of the issue is to do that change. It's not done. Is it ?