public synchronized int read() {return pos < count ? buffer.charAt(pos++) & 0xFF : -1;}

public synchronized int read ( ) { return pos < count ? buffer . charAt ( pos ++ ) & 0xFF : - 1 ; }
public override int read(){lock (this){return pos < count ? buffer[pos++] & unchecked((int)(0xFF)) : -1;}}
