BinaryFormat.List
This function returns a list of items by reading a sequence in binary format. The binaryFormat parameter determines the format of each item. There are three ways to decide how many items are read: 1....
This function returns a list of items by reading a sequence in binary format. The binaryFormat parameter determines the format of each item. There are three ways to decide how many items are read:
1. If countOrCondition is not specified, the function will read items until there are no more left.
2. If countOrCondition is a number, the function will read that specific number of items.
3. If countOrCondition is a function, the function will be called for each item read. The function should return true to continue reading, and false to stop. The final item will be included in the list.
4. If countOrCondition is a binary format, the number of items is expected to come before the list and will be read using the specified format.