Quickly solve the problem of invalid length of C android base 64 character array
- 2021-11-02 02:03:50
- OfStack
Solution:
When android sends pictures to C # background, the invalid length error of base-64 character array occurs when the pictures are converted into strings. Replace ("+", "% 2B") should be used before passing parameters, and Replace ("% 2B", "+") should be used after background reception, so that 1 is replaced and the problem is solved