public int read ( ) throws IOException { validate ( ) ; int rc = - 1 ; if ( doRead ( 1 ) ) { rc = _buffer . get ( ) & 0x000000FF ; } _buffer . release ( ) ; _buffer = null ; return rc ; }
Read the first available byte