()
| 89 | |
| 90 | // fixme: should return byte type |
| 91 | public int readByte() { |
| 92 | int c; |
| 93 | |
| 94 | if (readcount + 1 > cursize) |
| 95 | c = -1; |
| 96 | else |
| 97 | c = data[readcount] & 0xff; |
| 98 | |
| 99 | readcount++; |
| 100 | return c; |
| 101 | } |
| 102 | |
| 103 | // legitimate signed byte [-128 , 127] |
| 104 | // returns -1 if no more characters are available |
no outgoing calls