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

◆ ToHexString() [3/3]

static string System.Convert.ToHexString ( ReadOnlySpan< byte > bytes)
inlinestatic

Definition at line 3189 of file Convert.cs.

3190 {
3191 if (bytes.Length == 0)
3192 {
3193 return string.Empty;
3194 }
3195 if (bytes.Length > 1073741823)
3196 {
3197 throw new ArgumentOutOfRangeException("bytes", SR.ArgumentOutOfRange_InputTooLarge);
3198 }
3199 return HexConverter.ToString(bytes);
3200 }

References System.SR.ArgumentOutOfRange_InputTooLarge, System.bytes, and System.HexConverter.ToString().