tlrobinson / narwhal

[DEPRECATED] A JavaScript standard library, package manager, and more.
http://narwhaljs.org/
372 stars 16 forks source link

decodeToString(32) #40

Open gmosx opened 15 years ago

gmosx commented 15 years ago

Does not work. It seems to be not implemented.

tlrobinson commented 15 years ago

Can you give an example? decodeToString takes a string argument specifying the charset encoding of the bytes.

gmosx commented 15 years ago

I have provided a test case (that FAILS) to demonstrate the problem decodeToString optionally gets an integer argument and performs base32/base64 encoding. Base32 does not work.

kriskowal commented 15 years ago

I have not completed a base32 encodings module. Tom, I added the feature of accepting a number as a shortcut for deferring to the baseN modules. This isn't so much a bug as a feature that has not yet been implemented.