Crypt-IDA
view release on metacpan or search on metacpan
lib/Crypt/IDA/ShareFile.pm view on Meta::CPAN
# 1 opt_large_w Large (2-byte) s value?
# 2 opt_final Final chunk in file? (1=full file/final chunk)
# 3 opt_transform Is transform data included?
#
# Note that the chunk_next field is 1 greater than the actual offset
# of the chunk end. In other words, the chunk ranges from the byte
# starting at chunk_start up to, but not including the byte at
# chunk_next. That's why it's called chunk_next rather than chunk_end.
#
# More on this: it might seem that it's ok to refuse to split a
# zero-length file, but if we're using this for backups, it's not a
# good idea to fail just because we don't like zero-length
# files. Also, splitting a zero-length file might be useful in some
# cases, since we might be interested in just creating and storing a
# transform matrix for later use, or maybe generating test cases or
# debugging a matrix inverse routine.
sub sf_read_ida_header {
my $istream=shift; # assume istream is at start of file
my $header_info={}; # values will be returned in this hash
( run in 1.610 second using v1.01-cache-2.11-cpan-49f99fa48dc )