int getInt(final int length) { final int value = buffer.getInt(offset, length); offset += length; return value; }