Method read()
Return type: int
Member of: java.io.ByteArrayInputStream
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 instructions[i] = (short) bais.read();
2 xMin = (short)(bais.read()<<8 | bais.read());
3 while ((b=stream.read()) > 0)
4 hMetrics[i] = (int)(bais.read()<<24 | bais.read()<<16 | bais.read()<<8 | bais.read());
5 int c = read();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.