private int read ( ) { int curByte = 0 ; try { curByte = rawData . get ( ) & 0xFF ; } catch ( Exception e ) { header . status = GifDecoder . STATUS_FORMAT_ERROR ; } return curByte ; }
Reads a single byte from the input stream .