Reads a signed 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 offset of the value to be read in #b. @return the read value.
(final int offset)
| 3324 | * @return the read value. |
| 3325 | */ |
| 3326 | public short readShort(final int offset) { |
| 3327 | byte[] classFileBuffer = b; |
| 3328 | return (short) (((classFileBuffer[offset] & 0xFF) << 8) | (classFileBuffer[offset + 1] & 0xFF)); |
| 3329 | } |
| 3330 | |
| 3331 | /** |
| 3332 | * Reads a signed int value in {@link #b}. <i>This method is intended for {@link Attribute} sub |
no outgoing calls
no test coverage detected