Extracting 15-bit integer values from binary with pattern matching

I have just recently started using bitstrings but I’m trying to debug this with you :slight_smile:
In the meantime I link the above docs for you and others.