We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fdcc2b commit 5a01f2dCopy full SHA for 5a01f2d
1 file changed
README.md
@@ -102,6 +102,24 @@ InspectLink::isClassic($classicUrl); // true
102
103
---
104
105
+## Validation rules
106
+
107
+`deserialize()` enforces:
108
109
+| Rule | Limit | Exception |
110
+|------|-------|-----------|
111
+| Hex payload length | max 4,096 characters | `InvalidArgumentException` |
112
+| Protobuf field count | max 100 per message | `OverflowException` |
113
114
+`serialize()` enforces:
115
116
+| Field | Constraint | Exception |
117
+|-------|-----------|-----------|
118
+| `paintwear` | `[0.0, 1.0]` | `InvalidArgumentException` |
119
+| `customname` | max 100 characters | `InvalidArgumentException` |
120
121
+---
122
123
## How the format works
124
125
Three URL formats are handled:
0 commit comments