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

◆ MapZeroLengthArrayToNonNullPointer()

static byte[] Internal.Cryptography.Helpers.MapZeroLengthArrayToNonNullPointer ( this byte[] src)
inlinestatic

Definition at line 34 of file Helpers.cs.

35 {
36 if (src != null && src.Length == 0)
37 {
38 return new byte[1];
39 }
40 return src;
41 }