The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
Convert a C source file into ActionScript 3, AS3.
The job is to convert an existing C source file into ActionScript 3. Knowledge of ActionScript bitwise operations is a plus. Much of the C code involves scanning a bytestream for markers and returning data.
The project involves jpeg and reading exif and xmp information. The original source is approximately 1,000 lines long and includes comments. The finished project should closely match the original C source (and there should be little reason to change the structure of the C source).
Example code from the C source:
static uint8_t first_marker(const uint8_t *buf, uint32_t buflen, uint32_t *idx)
uint8_t c1, c2;
c1 = readByte(buf,buflen,idx);
c2 = readByte(buf,buflen,idx);
if (0xFF != c1|| SOI != c2)
//JERREXIT("ERROR: Not a JPEG file");
static void skip_payload(const uint8_t *buf, uint32_t buflen, uint32_t *idx)
uint8_t prev_marker = buf[*idx-1];
Sign in or Register to see more