Package org.greenrobot.essentials
Class PrimitiveArrayUtils.SafeImpl
- java.lang.Object
-
- org.greenrobot.essentials.PrimitiveArrayUtils
-
- org.greenrobot.essentials.PrimitiveArrayUtils.SafeImpl
-
- Enclosing class:
- PrimitiveArrayUtils
private static class PrimitiveArrayUtils.SafeImpl extends PrimitiveArrayUtils
-
-
Constructor Summary
Constructors Modifier Constructor Description privateSafeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIntBE(byte[] bytes, int index)intgetIntLE(byte[] bytes, int index)intgetIntLE(char[] chars, int index)Little endian.longgetLongBE(byte[] bytes, int index)longgetLongLE(byte[] bytes, int index)-
Methods inherited from class org.greenrobot.essentials.PrimitiveArrayUtils
getInstance, getInstanceSafe, initUnsafeInstance
-
-
-
-
Method Detail
-
getIntLE
public int getIntLE(byte[] bytes, int index)- Specified by:
getIntLEin classPrimitiveArrayUtils
-
getIntBE
public int getIntBE(byte[] bytes, int index)- Specified by:
getIntBEin classPrimitiveArrayUtils
-
getLongLE
public long getLongLE(byte[] bytes, int index)- Specified by:
getLongLEin classPrimitiveArrayUtils
-
getLongBE
public long getLongBE(byte[] bytes, int index)- Specified by:
getLongBEin classPrimitiveArrayUtils
-
getIntLE
public int getIntLE(char[] chars, int index)Little endian.- Specified by:
getIntLEin classPrimitiveArrayUtils
-
-