According to section 3.3.1 in the Flexible and Interoperable Data Transfer Protocol Rev 2.2 document the header size can be either 12 bytes or 14. Though in the FitHeader.rb file the check prints an error message if the size is not 14. https://github.com/scrapper/fit4ruby/blob/master/lib/fit4ruby/FitHeader.rb#L30
The error message is "Unsupported header size #{@header.header_size}". Is this intended to warn in the case the header size is 12 bytes or does it mean one tries to parse a faulty file?
According to section 3.3.1 in the Flexible and Interoperable Data Transfer Protocol Rev 2.2 document the header size can be either 12 bytes or 14. Though in the FitHeader.rb file the check prints an error message if the size is not 14. https://github.com/scrapper/fit4ruby/blob/master/lib/fit4ruby/FitHeader.rb#L30
The error message is "Unsupported header size #{@header.header_size}". Is this intended to warn in the case the header size is 12 bytes or does it mean one tries to parse a faulty file?