binary-parser icon indicating copy to clipboard operation
binary-parser copied to clipboard

Added .loop' API

Open autarc opened this issue 10 years ago • 0 comments

Although the request to merge the implementation of #17 Enable Strings as choice keys and the parent reference is still open, here is another feature thats generally useful. I've added an API to loop over the buffer and match the declared choices. In contrast to the current implementation of choice/array, it looks ahead and allows to define optional identifiers. The parsing continues until there is no further matching.

autarc avatar Jul 22 '15 12:07 autarc