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)
| 348 | // Find end of the data structure, array or object. |
| 349 | // For array openSym and closeSym will be '[' and ']', for object '{' and '}' |
| 350 | func blockEnd(data []byte, openSym byte, closeSym byte) int { |
| 351 | return blockEndConfig(DefaultConfig, data, openSym, closeSym) |
| 352 | } |
| 353 | |
| 354 | // SYS-REQ-115 |
| 355 | func blockEndConfig(config Config, data []byte, openSym byte, closeSym byte) int { |