关于java后台base64编译问题
巴扎黑
巴扎黑 2017-04-18 10:25:11
0
2
605


从前台获取图片base64编码返回值,然后查看String image的时候base64编码没有获取完全,后面溢出的一部分的字符串直接"..."替代,导致图片不能正确生成。请问怎么解决?

巴扎黑
巴扎黑

reply all(2)
PHPzhong

If you have already split, you don’t need substring. Just use one of these two

黄舟

Try using new String("") or StringBuffer?
In addition, the compiler cannot view strings that are too long. It is recommended to copy the import file from the print console to view it!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!