### Question:
Data implements Parcelable { @Nullable public Long getLongValue(@LongFormat final int formatType, @IntRange(from = 0) final int offset) { if ((offset + getTypeLen(formatType)) > size()) return null; switch (formatType) { case FORMAT_SINT32: return unsignedToSigned(unsignedBytesToLong(mValue[offset], mValue[offset + 1], mValue[offset + 2], mValue[offset + 3]), 32); case FORMAT_UINT32: return unsignedBytesToLong(mValue[offset], mValue[offset + 1], mValue[offset + 2], mValue[offset + 3]); } return null; } Data();  Data(@Nullable final byte[] value); protected  Data(final Parcel in); static Data from(@NonNull final String value); static Data from(@NonNull final BluetoothGattCharacteristic characteristic); static Data from(@NonNull final BluetoothGattDescriptor descriptor); static Data opCode(final byte opCode); static Data opCode(final byte opCode, final byte parameter); @Nullable byte[] getValue(); @Nullable String getStringValue(@IntRange(from = 0) final int offset); int size(); @NonNull @Override String toString(); @Nullable Byte getByte(@IntRange(from = 0) final int offset); @Nullable Integer getIntValue(@IntFormat final int formatType,
							   @IntRange(from = 0) final int offset); @Nullable Long getLongValue(@LongFormat final int formatType,
							 @IntRange(from = 0) final int offset); @Nullable Float getFloatValue(@FloatFormat final int formatType,
							   @IntRange(from = 0) final int offset); static int getTypeLen(@ValueFormat final int formatType); @Override void writeToParcel(final Parcel dest, final int flags); @Override int describeContents(); final static int FORMAT_UINT8; final static int FORMAT_UINT16; final static int FORMAT_UINT24; final static int FORMAT_UINT32; final static int FORMAT_SINT8; final static int FORMAT_SINT16; final static int FORMAT_SINT24; final static int FORMAT_SINT32; final static int FORMAT_SFLOAT; final static int FORMAT_FLOAT; static final Creator<Data> CREATOR; }### Answer:
@Test public void getValue_UINT32_big() { final Data data = new Data(new byte[] { 0x01, 0x00, 0x00, (byte) 0xF0}); final long value = data.getLongValue(Data.FORMAT_UINT32, 0); assertEquals(0xF0000001L, value); }