0

I have read an article that says;

We then have to pad out the JPEG header to the length of 0x2F2A with nulls

but in my mind, it should be

We then have to pad out the JPEG header with the length of 0x2F2A using nulls

2
  • how long should the header be? 0x2f2a, or header length + ox2f2a?
    – JMP
    Commented Mar 6, 2017 at 5:35
  • He padded the novel out to 320 pages with 24 pages of historical background. Commented Mar 6, 2017 at 8:50

1 Answer 1

1

The jpeg already has a length, so it needs to be padded out TO a specified length by adding nulls to what's already there.

2
  • Padded out with nulls to the correct length in fact.
    – Chris H
    Commented Mar 6, 2017 at 9:07
  • @Xanne may you give an example for that?? Commented Mar 6, 2017 at 10:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .