Callback implementation for BinStructCustomType.parse_returning_options/3.
BinStructCustomType.parse_returning_options/3