X-Git-Url: http://git.shiar.nl/wormy.git/blobdiff_plain/3f547138025ead9303d443e1d41e5e4c884c570d..42fa759f7b4b8b71be1048e7da1870da7db17890:/Parse/Binary/Nested.pm diff --git a/Parse/Binary/Nested.pm b/Parse/Binary/Nested.pm index db5e208..e4cacc3 100644 --- a/Parse/Binary/Nested.pm +++ b/Parse/Binary/Nested.pm @@ -50,6 +50,9 @@ sub convert { elsif ($template =~ /^Ca/) { $data->[0] = unpack 'C/a', $data->[0]; } + elsif ($template =~ /^(?:[xX]\d*)*$/) { + next; # no values + } $res{$field} = shift @$data; } return \%res;