Reads a signed int 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)
| 3336 | * @return the read value. |
| 3337 | */ |
| 3338 | public int readInt(final int offset) { |
| 3339 | byte[] classFileBuffer = b; |
| 3340 | return ((classFileBuffer[offset] & 0xFF) << 24) |
| 3341 | | ((classFileBuffer[offset + 1] & 0xFF) << 16) |
| 3342 | | ((classFileBuffer[offset + 2] & 0xFF) << 8) |
| 3343 | | (classFileBuffer[offset + 3] & 0xFF); |
| 3344 | } |
| 3345 | |
| 3346 | /** |
| 3347 | * Reads a signed long value in {@link #b}. <i>This method is intended for {@link Attribute} sub |
no outgoing calls
no test coverage detected