metapensiero / metapensiero.pj

Javascript for refined palates: a Python 3 to ES6 Javascript translator
Other
900 stars 73 forks source link

Fails on simple byte sequence: ValueError: Unknown data type received. #57

Closed exander77 closed 3 years ago

exander77 commented 3 years ago

Input:

a = b'\x00'
azazel75 commented 3 years ago

yeah, I didn't need any bytes in JS, so I did not add support for it

exander77 commented 3 years ago

JavaScript has native ByteBuffers. Without this, basically no encryption, binary data manipulation etc. cannot be implemented.

azazel75 commented 3 years ago

PRs are accepted (with tests)!