Hi!
According to the OpenLR Physical data format binary specification regarding Line Location.
The positive and negative offset bytes are optional. This means that the negative offset can be found at byte number 17 instead of byte number 18 if only a negative offset is included.
This is not handled currently in the library.
I know this is not clearly stated in the spec but i can confirm that TomTom themselves are delivering data in this way.