Reads an unsigned short value in #b. This method is intended for Attribute sub classes, and is normally not needed by class generators or adapters. @param offset the start index of the value to be read in #b. @return the read value.
(final int offset)
| 3312 | * @return the read value. |
| 3313 | */ |
| 3314 | public int readUnsignedShort(final int offset) { |
| 3315 | byte[] classFileBuffer = b; |
| 3316 | return ((classFileBuffer[offset] & 0xFF) << 8) | (classFileBuffer[offset + 1] & 0xFF); |
| 3317 | } |
| 3318 | |
| 3319 | /** |
| 3320 | * Reads a signed short value in {@link #b}. <i>This method is intended for {@link Attribute} sub |
no outgoing calls
no test coverage detected