Searching in an array
1 posts in topic
Flat View  Flat View

Posted By:   Michael_Seiwert
Posted On:   Saturday, March 30, 2002 11:28 AM

How do I search for a to byte token in an array: What I have is this:

private static final byte[] IPTCIdentifier = {(byte)0xFF, (byte)0xED};

How do search within an array for the FFED token ? Help welcome, thank you !


Re: Searching in an array

Posted By:   Bozidar_Dangubic  
Posted On:   Monday, April 1, 2002 09:46 AM

one by one, until you find it, i.e. linear search.
About | Sitemap | Contact