consume_bits would crash with a MatchError when the remaining bitstring had fewer bits than the group width. Added a guard clause to stop consuming when insufficient bits remain, matching how wgrib2 handles trailing padding in packed data sections. |
||
|---|---|---|
| .. | ||
| microwaveprop | ||
| microwaveprop_web | ||
| microwaveprop.ex | ||
| microwaveprop_web.ex | ||