| 123 | } |
| 124 | |
| 125 | size_t ScriptArgs::byteCount(int i) const |
| 126 | { |
| 127 | const int n = intAt(i); |
| 128 | if (n < 0) { |
| 129 | fail("argument %d is a size of %d bytes", i + 1, n); |
| 130 | } |
| 131 | return (size_t)n; |
| 132 | } |
| 133 | |
| 134 | int ScriptArgs::count(int i) const |
| 135 | { |
no outgoing calls
no test coverage detected