Package org.greenrobot.essentials
Class PrimitiveArrayUtils.SafeImpl
java.lang.Object
org.greenrobot.essentials.PrimitiveArrayUtils
org.greenrobot.essentials.PrimitiveArrayUtils.SafeImpl
- Enclosing class:
PrimitiveArrayUtils
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.greenrobot.essentials.PrimitiveArrayUtils
getInstance, getInstanceSafe, initUnsafeInstance
-
Constructor Details
-
SafeImpl
private SafeImpl()
-
-
Method Details
-
getIntLE
public int getIntLE(byte[] bytes, int index) - Specified by:
getIntLE
in classPrimitiveArrayUtils
-
getIntBE
public int getIntBE(byte[] bytes, int index) - Specified by:
getIntBE
in classPrimitiveArrayUtils
-
getLongLE
public long getLongLE(byte[] bytes, int index) - Specified by:
getLongLE
in classPrimitiveArrayUtils
-
getLongBE
public long getLongBE(byte[] bytes, int index) - Specified by:
getLongBE
in classPrimitiveArrayUtils
-
getIntLE
public int getIntLE(char[] chars, int index) Little endian.- Specified by:
getIntLE
in classPrimitiveArrayUtils
-