GetMaxStringLength will return the current string length limit.
()
| 261 | |
| 262 | // GetMaxStringLength will return the current string length limit. |
| 263 | func (m *Reader) GetMaxStringLength() uint64 { |
| 264 | if m.maxStrLen <= 0 { |
| 265 | return math.MaxUint64 |
| 266 | } |
| 267 | return min(m.maxStrLen, math.MaxUint64) |
| 268 | } |
| 269 | |
| 270 | // recursiveCall will increment the recursion depth and return an error if it is exceeded. |
| 271 | // If a nil error is returned, done must be called to decrement the counter. |
no outgoing calls
no test coverage detected