Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetMaxDecodedFromUtf8Length()

static int System.Buffers.Text.Base64.GetMaxDecodedFromUtf8Length ( int length)
inlinestatic

Definition at line 214 of file Base64.cs.

215 {
216 if (length < 0)
217 {
219 }
220 return (length >> 2) * 3;
221 }
static void ThrowArgumentOutOfRangeException(System.ExceptionArgument argument)

References System.length, and System.ThrowHelper.ThrowArgumentOutOfRangeException().

Referenced by System.Buffers.Text.Base64.DecodeFromUtf8(), and System.Security.Cryptography.FromBase64Transform.GetOutputSize().