We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perhaps it would be better to throw exception or have an option to have such option when length % 4 !==0 or string has white spaces.
length % 4 !==0
> ByteBuffer.btoa(ByteBuffer.atob("a")) '' > ByteBuffer.btoa(ByteBuffer.atob("ab")) 'aQ==' > ByteBuffer.btoa(ByteBuffer.atob("abc")) 'abc=' > ByteBuffer.btoa(ByteBuffer.atob("abcd")) 'abcd' > ByteBuffer.btoa(ByteBuffer.atob("abcde")) 'abcd' > ByteBuffer.btoa(ByteBuffer.atob("abcdef")) 'abcdeQ==' > ByteBuffer.btoa(ByteBuffer.atob("abcdefg")) 'abcdefg=' > ByteBuffer.btoa(ByteBuffer.atob("abcdefgh")) 'abcdefgh' > ByteBuffer.btoa(ByteBuffer.atob("a ")) '' > ByteBuffer.btoa(ByteBuffer.atob("a111")) 'a111' > ByteBuffer.btoa(ByteBuffer.atob("a c")) 'aQ==' > ByteBuffer.btoa(ByteBuffer.atob("ab c")) 'abc=' > ByteBuffer.btoa(ByteBuffer.atob("abc")) 'abc='
The text was updated successfully, but these errors were encountered:
Somehow connected to #60
Currently trying to resolve any encoding issues by adding ByteBuffer-aware implementations, see: https://github.com/dcodeIO/bytebuffer.js/tree/master/src/encodings/impl
Sorry, something went wrong.
No branches or pull requests
Perhaps it would be better to throw exception or have an option to have such option when
length % 4 !==0
or string has white spaces.The text was updated successfully, but these errors were encountered: