public static short addressBytesToInt(final byte[] unicastAddress) {
        return ByteBuffer.wrap(unicastAddress).order(ByteOrder.BIG_ENDIAN).getShort();
    }
Returns the unicast address as int

@param unicastAddress unicast address
@return unicast address
mesh/src/main/java/no/nordicsemi/android/mesh/utils/MeshAddress.java