axml/src/main/java/fr/xgouchet/axml/AXMLParser.java
private int readWord(final int bufferStartOffset, final int wordIndex) {

        int offset = bufferStartOffset + (wordIndex * WORD_SIZE);

        return ((mBuffer[offset + 3] << 24) & 0xff000000)
                | ((mBuffer[offset + 2] << 16) & 0x00ff0000)
                | ((mBuffer[offset + 1] << 8) & 0x0000ff00)
                | ((mBuffer[offset]) & 0x000000ff);
    }
/**
     * Read a 4 byte word at the given offset and index. Words are read as Little Endian 32 bit word
     *
     * @param bufferStartOffset the byte offset in the buffer
     * @param wordIndex         the index of the word after the offset
     * @return the word as an int
     */
Read a 4 byte word at the given offset and index. Words are read as Little Endian 32 bit word
@param bufferStartOffset the byte offset in the buffer
@param wordIndex         the index of the word after the offset
@return the word as an int
Read a 4 byte word at the given offset and index . Words are read as Little Endian 32 bit word @param bufferStartOffset the byte offset in the buffer @param wordIndex the index of the word after the offset @return the word as an int
private int readWord(final int bufferStartOffset, final int wordIndex) {
        int offset = bufferStartOffset + (wordIndex * WORD_SIZE);
        return ((mBuffer[offset + 3] << 24) & 0xff000000)
                | ((mBuffer[offset + 2] << 16) & 0x00ff0000)
                | ((mBuffer[offset + 1] << 8) & 0x0000ff00)
                | ((mBuffer[offset]) & 0x000000ff);
    }
private int readWord ( final int bufferStartOffset , final int wordIndex ) { int offset = bufferStartOffset + ( wordIndex * WORD_SIZE ) ; return ( ( mBuffer [ offset + 3 ] << 24 ) & 0xff000000 ) | ( ( mBuffer [ offset + 2 ] << 16 ) & 0x00ff0000 ) | ( ( mBuffer [ offset + 1 ] << 8 ) & 0x0000ff00 ) | ( ( mBuffer [ offset ] ) & 0x000000ff ) ; }
Read a 4 byte word at the given offset and index.
Read a 4 byte word at the given offset and index .