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

◆ ValidatePropertyAndBytes() [1/2]

static void System.Text.Json.JsonWriterHelper.ValidatePropertyAndBytes ( ReadOnlySpan< byte > propertyName,
ReadOnlySpan< byte > bytes )
inlinestatic

Definition at line 171 of file JsonWriterHelper.cs.

172 {
173 if (propertyName.Length > 166666666 || bytes.Length > 125000000)
174 {
175 ThrowHelper.ThrowArgumentException(propertyName, bytes);
176 }
177 }

References System.bytes, System.Text.Json.Dictionary, and System.Text.Json.ThrowHelper.ThrowArgumentException().