SYS-REQ-046 Find end of the data structure, array or object. For array openSym and closeSym will be '[' and ']', for object '{' and '}'
(data []byte, openSym byte, closeSym byte)
| 375 | // Find end of the data structure, array or object. |
| 376 | // For array openSym and closeSym will be '[' and ']', for object '{' and '}' |
| 377 | func blockEnd(data []byte, openSym byte, closeSym byte) int { |
| 378 | return blockEndConfig(DefaultConfig, data, openSym, closeSym) |
| 379 | } |
| 380 | |
| 381 | // SYS-REQ-115 |
| 382 | func blockEndConfig(config Config, data []byte, openSym byte, closeSym byte) int { |