You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Copied from https://github.com/dotnet/runtime/blob/82ca681cbac89d813a3ce397e0c665e6c051ed67/src/libraries/System.Private.CoreLib/src/System/Convert.cs#L2530
548
-
longoutlen=((long)inputLength)/3*4;// the base length - we want integer division here.
549
-
outlen+=((inputLength%3)!=0)?4:0;// at most 4 more chars for the remainder
550
-
551
-
if(outlen>int.MaxValue)
552
-
{
553
-
thrownewOutOfMemoryException();
554
-
}
555
-
556
-
return(int)outlen;
557
-
}
558
-
559
544
// Encode using MIME encoding
560
545
// And adds surrounding quotes, Encoded data must always be quoted, the equals signs are invalid in tokens
0 commit comments