Lines Matching refs:nBytes
91 * pre 0 < nBytes <=4
93 public int readInt(int nBytes) {
96 for (int i = 0; i < nBytes; i++) {
104 * pre 0 < nBytes <=1 FIXME: Sign extension
106 public short readShort(int nBytes) {
109 for (int i = 0; i < nBytes; i++) {
117 * pre 0 < nBytes <=1
119 public char readChar(int nBytes) {
122 for (int i = 0; i < nBytes; i++) {
130 * pre 0 < nBytes <=7 FIXME: Sign extension
132 public long readLong(int nBytes) {
135 for (int i = 0; i < nBytes; i++) {
143 * pre 0 < nBytes <=4
145 public float readFloat(int nBytes) {
146 int bits = readInt(nBytes);
147 int bytesToMove = (4 - nBytes) * 8;
172 public double readDouble(int nBytes) {
173 long bits = readLong(nBytes);
174 int bytesToMove = (8 - nBytes) * 8;
179 public void skip(int nBytes) {
180 b.position(b.position() + nBytes);