Find Jobs
Hire Freelancers

BER decoder/dumper needed

$30-5000 USD

Closed
Posted over 12 years ago

$30-5000 USD

Paid on delivery
I need a C/C++ code for decoding/dumping BER encoded files in human readable/parsable form. ## Deliverables I need to be able to compile this code as a library. The library should provide functions for dumping all the file contents at once, as well as fetching tag by tag. I DON'T need full asn1 decoder. I just need readable representation of the binary (BER) file contents. Ideally tags would be fetched as char* and they'd be formatted like "xx yyy|zzz|vv" (where xx is 00, 01, 10, or 11 regarding which tag class this is, yyy is tag id, for example APPLICATION 100 would look like "01 100" zzz is tag value if the tag has value, and vv is the tag level, so I know if it's a child tag, or brother/sister, or parent etc.) Code must run as fast as possible. It must be able to read files encoded like this (I don't know a name for it). "Suppose you have a buffer of 8192 bytes. You start to place record into that buffer one by one. Once the next record does not fit into the buffer, you "flush" the buffer out and then start with a fresh buffer, anticipating that the next message will fit into the fresh buffer. So what happens on disk is this file where you get about 8k of data, then the "padding" of 0x00 or 0xff bytes until the nearest byte position divisible by 8192, then the next buffer worth of data, and so on. In other words, several records, then padding, then several records again, then padding again, and so on" I will provide some test files.
Project ID: 3535353

About the project

1 proposal
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $200 USD for this job
User Avatar
See private message.
$200 USD in 1 day
4.6 (8 reviews)
4.9
4.9

About the client

Flag of BOSNIA AND HERZEGOVINA
Sarajevo, Bosnia and Herzegovina
0.0
0
Payment method verified
Member since Oct 13, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.