in reply to Re^16: Declaring Hash entries
in thread Declaring Hash entries
...My biggest problem will be converting each entry into its respective format, But i will have to wait till sunday to see about it.
Here is a tip, there are only three formats
if( $index->{param_fmt} == 4 ){ $index->{value} = decode('UTF-8', $raw ) ;##utf-8-special +NOT nul } elsif( $index->{param_fmt} == 516 ){ $index->{value} = decode('UTF-8', $raw ) ; ##utf-8-charstr +ing-nul chop $index->{value} ; ## chop the null } elsif( $index->{param_fmt} == 1028 ){ $index->{value} = UInt32( $raw ) ;; ##uint32 }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^18: Declaring Hash entries
by james28909 (Deacon) on Jan 16, 2015 at 14:33 UTC |