Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

check if byte[] array contains 0xff

807580Mar 22 2010 — edited Mar 22 2010
Hi,

i got byte[] array which contains bytes from jpg file. I would like to search this array and check if it contains this sequence of bytes: 0xFF 0xDA.

Thanks in advance for Ur time and support.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 19 2010
Added on Mar 22 2010
13 comments
1,858 views