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)
| 367 | // Find end of the data structure, array or object. |
| 368 | // For array openSym and closeSym will be '[' and ']', for object '{' and '}' |
| 369 | func blockEnd(data []byte, openSym byte, closeSym byte) int { |
| 370 | return blockEndConfig(DefaultConfig, data, openSym, closeSym) |
| 371 | } |
| 372 | |
| 373 | // SYS-REQ-115 |
| 374 | func blockEndConfig(config Config, data []byte, openSym byte, closeSym byte) int { |