Skip to content
New issue

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

Unable to convert base64 string to byte[] #2

Open
UditVis opened this issue Apr 6, 2018 · 0 comments
Open

Unable to convert base64 string to byte[] #2

UditVis opened this issue Apr 6, 2018 · 0 comments

Comments

@UditVis
Copy link

UditVis commented Apr 6, 2018

public byte[] convertToImage(String imageBase64String){ return org.apache.commons.codec.binary.Base64.decodeBase64(imageBase64String); }

Method decodeBase64 requires byte[] parameter, it doesn't accept string parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant