reads netscape extenstion to obtain iteration count concode_field_sep int lctSize concode_elem_sep int MAX_STACK_SIZE concode_elem_sep short[] prefix concode_elem_sep byte[] block concode_elem_sep int blockSize concode_elem_sep GifHeader header concode_elem_sep byte[] pixelStack concode_elem_sep ByteBuffer rawData concode_elem_sep byte[] suffix concode_elem_sep boolean lctFlag concode_elem_sep String TAG concode_field_sep void readGraphicControlExt concode_elem_sep void readLSD concode_elem_sep int read concode_elem_sep boolean err concode_elem_sep int[] readColorTable concode_elem_sep void skipBitmapData concode_elem_sep void skip concode_elem_sep void readHeader concode_elem_sep GifHeader parseHeader concode_elem_sep int readBlock concode_elem_sep int readShort concode_elem_sep void readBitmap concode_elem_sep void readContents
void function ( ) { do { readBlock ( ) ; if ( block [ 0 ] == 1 ) { int loc0 = ( ( int ) block [ 1 ] ) & 0xff ; int loc1 = ( ( int ) block [ 2 ] ) & 0xff ; header . loopCount = ( loc1 << 8 ) | loc0 ; } } while ( ( blockSize > 0 ) && ! err ( ) ) ; }