The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Arrays

Posted by Eyal on September 14, 2000 at 11:00 AM

I have a byte array which is formated like this :
header|recordNum|recordHeader1|recordLength1|recordValue1|re...|

Im looking for an efficient way to check whether all record have been arrived ok so if the recordNum is 31 i'll have 31 fields of : recordHeader1|recordLength1|recordValue1
Im of course Do not want to read them all cause the performance will be very low - any suggestions??



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us