Fibonacci Sequence decoding
Hello, I have been trying to decode a Fibonacci sequence using Kaitai.

Fibonacci Sequence represents a list of numbers where you don't beed to specify the size of the array at the beginning.

This is achieved by using a property that no 2 bits in a Fibonacci sequence is going to have consecutive bits set as 1.

Which means if you find 11 in a bit sequence it will represent the end of previous number and bits after it will represent next number.

https://en.m.wikipedia.org/wiki/Fibonacci_coding

This is a link for reference.

I wanted to understand how can I achieve this terminating condition in Kaitai?