in reply to Re: How to read binary file with variable length in perl
in thread How to read binary file with variable length in perl

Hi...

Thank you very much for your reply.

Anyway, could somebody clarify either the format is ASN.1 or not because it is contain fix and variable length. Below some sample of the data:
33 30 33 32 34 34 30 30 30 30 32 32 34 30 20 20 20 20 20 20 30 30 30 47 4c 4d 41 2f 4d 59 35 34 43 4e 41 31 2f 30 49 4e 42 47 4d 4f 20 49 41 42 31 49 20 20 9f a1 0b 00 9f be 00 02 00 16 9f be 01 81 0f 01 55 01 f0 83 18 02 20 10 00 10 00 00 00 01 9f be 19 81 09 00 01 10 60 13 00 13 13 00 9f be 1b 08 02 01 10 ff ff ff ff ff a1 06 82 04 04 00 00 00

Replies are listed 'Best First'.
Re^3: How to read binary file with variable length in perl
by moritz (Cardinal) on May 05, 2010 at 10:00 UTC
    Why don't you just try different libraries that implement asn.1? If most or all of them can read your files, they probably are asn.1. If not, probably not.
Re^3: How to read binary file with variable length in perl
by marto (Cardinal) on May 05, 2010 at 10:04 UTC

    Did you read the advice given to you in your previous questions, such as How to use Convert::ASN1 ? Is there anything you didn't understand?