Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

invalid length for a base-64 char array or string. frombase64string c#Add Answer

int mod4 = a.Length % 4;
if (mod4 > 0 )
{
    a += new string('=', 4 - mod4);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #invalid #length #char #array #Answer
ADD COMMENT
Topic
Name
4+6 =