All methods in this class will throw an NullPointerException if null is
passed in as a method parameter for a byte array.
| Modifier and Type | Field and Description |
|---|---|
| private static final VarHandle | |
| private static final VarHandle | |
| private static final VarHandle | |
| private static final VarHandle | |
| private static final VarHandle | |
| private static final VarHandle |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static VarHandle | |
| public static boolean | Returns: aboolean from the provided array at the given offsetto read a value from. array, int where extraction in the array should begin offset)Returns a |
| public static char | Returns: achar from the provided array at the given offset
using big endian orderto get a value from. array, int where extraction in the array should begin offset)Returns a |
| public static double | Returns: adouble from the provided array at the given offset
using big endian orderto get a value from. array, int where extraction in the array should begin offset)Returns a |
| public static double | Returns: adouble from the provided array at the given offset
using big endian orderto get a value from. array, int where extraction in the array should begin offset)Returns a |
| public static float | Returns: afloat from the provided array at the given offset
using big endian orderto get a value from. array, int where extraction in the array should begin offset)Returns a |
| public static float | Returns: afloat from the provided array at the given offset
using big endian orderto get a value from. array, int where extraction in the array should begin offset)Returns a |
| public static int | Returns: anint from the provided array at the given offset
using big endian orderto get a value from. array, int where extraction in the array should begin offset)Returns an |
| public static long | Returns: along from the provided array at the given offset
using big endian orderto get a value from. array, int where extraction in the array should begin offset)Returns a |
| public static short | Returns: ashort from the arrayto get a value from. array, int where extraction in the array should begin offset)Returns a |
| public static int | Returns: anint representing an unsigned short from the arrayto get a value from. array, int where extraction in the array should begin offset)Returns an |
| public static void | setBoolean(byte[]
to set (write) a value into array, int where setting (writing) in the array should begin offset, boolean value to set in the array value)Sets (writes) the provided |
| public static void | setChar(byte[]
to set (write) a value into array, int where setting (writing) in the array should begin offset, char value to set in the array value)Sets (writes) the provided |
| public static void | setDouble(byte[]
to set (write) a value into array, int where setting (writing) in the array should begin offset, double value to set in the array value)Sets (writes) the provided |
| public static void | setDoubleRaw(byte[]
to set (write) a value into array, int where setting (writing) in the array should begin offset, double value to set in the array value)Sets (writes) the provided |
| public static void | setFloat(byte[]
to set (write) a value into array, int where setting (writing) in the array should begin offset, float value to set in the array value)Sets (writes) the provided |
| public static void | setFloatRaw(byte[]
to set (write) a value into array, int where setting (writing) in the array should begin offset, float value to set in the array value)Sets (writes) the provided |
| public static void | setInt(byte[]
to set (write) a value into array, int where setting (writing) in the array should begin offset, int value to set in the array value)Sets (writes) the provided |
| public static void | setLong(byte[]
to set (write) a value into array, int where setting (writing) in the array should begin offset, long value to set in the array value)Sets (writes) the provided |
| public static void | setShort(byte[]
to set (write) a value into array, int where setting (writing) in the array should begin offset, short value to set in the array value)Sets (writes) the provided |
| public static void | setUnsignedShort(byte[]
to set (write) a value into array, int where setting (writing) in the array should begin offset, int value to set in the array value)Sets (writes) the provided |
| CHAR | back to summary |
|---|---|
| private static final VarHandle CHAR | |
| DOUBLE | back to summary |
|---|---|
| private static final VarHandle DOUBLE | |
| FLOAT | back to summary |
|---|---|
| private static final VarHandle FLOAT | |
| INT | back to summary |
|---|---|
| private static final VarHandle INT | |
| LONG | back to summary |
|---|---|
| private static final VarHandle LONG | |
| SHORT | back to summary |
|---|---|
| private static final VarHandle SHORT | |
| ByteArray | back to summary |
|---|---|
| private ByteArray() | |
| create | back to summary |
|---|---|
| private static VarHandle create(Class<?> viewArrayClass) | |
| getBoolean | back to summary |
|---|---|
| public static boolean getBoolean(byte[] array, int offset) Returns a
| |
| getChar | back to summary |
|---|---|
| public static char getChar(byte[] array, int offset) Returns a There are no access alignment requirements.
| |
| getDouble | back to summary |
|---|---|
| public static double getDouble(byte[] array, int offset) Returns a Variants of Double#NaN values are canonized to a single NaN value. There are no access alignment requirements.
| |
| getDoubleRaw | back to summary |
|---|---|
| public static double getDoubleRaw(byte[] array, int offset) Returns a Variants of Double#NaN values are silently read according to their bit patterns. There are no access alignment requirements.
| |
| getFloat | back to summary |
|---|---|
| public static float getFloat(byte[] array, int offset) Returns a Variants of Float#NaN values are canonized to a single NaN value. There are no access alignment requirements.
| |
| getFloatRaw | back to summary |
|---|---|
| public static float getFloatRaw(byte[] array, int offset) Returns a Variants of Float#NaN values are silently read according to their bit patterns. There are no access alignment requirements.
| |
| getInt | back to summary |
|---|---|
| public static int getInt(byte[] array, int offset) Returns an There are no access alignment requirements.
| |
| getLong | back to summary |
|---|---|
| public static long getLong(byte[] array, int offset) Returns a There are no access alignment requirements.
| |
| getShort | back to summary |
|---|---|
| public static short getShort(byte[] array, int offset) Returns a There are no access alignment requirements.
| |
| getUnsignedShort | back to summary |
|---|---|
| public static int getUnsignedShort(byte[] array, int offset) Returns an There are no access alignment requirements.
| |
| setBoolean | back to summary |
|---|---|
| public static void setBoolean(byte[] array, int offset, boolean value) Sets (writes) the provided
| |
| setChar | back to summary |
|---|---|
| public static void setChar(byte[] array, int offset, char value) Sets (writes) the provided There are no access alignment requirements.
| |
| setDouble | back to summary |
|---|---|
| public static void setDouble(byte[] array, int offset, double value) Sets (writes) the provided Variants of Double#NaN values are canonized to a single NaN value. There are no access alignment requirements.
| |
| setDoubleRaw | back to summary |
|---|---|
| public static void setDoubleRaw(byte[] array, int offset, double value) Sets (writes) the provided Variants of Double#NaN values are silently written according to their bit patterns. There are no access alignment requirements.
| |
| setFloat | back to summary |
|---|---|
| public static void setFloat(byte[] array, int offset, float value) Sets (writes) the provided Variants of Float#NaN values are canonized to a single NaN value. There are no access alignment requirements.
| |
| setFloatRaw | back to summary |
|---|---|
| public static void setFloatRaw(byte[] array, int offset, float value) Sets (writes) the provided Variants of Float#NaN values are silently written according to their bit patterns. There are no access alignment requirements.
| |
| setInt | back to summary |
|---|---|
| public static void setInt(byte[] array, int offset, int value) Sets (writes) the provided There are no access alignment requirements.
| |
| setLong | back to summary |
|---|---|
| public static void setLong(byte[] array, int offset, long value) Sets (writes) the provided There are no access alignment requirements.
| |
| setShort | back to summary |
|---|---|
| public static void setShort(byte[] array, int offset, short value) Sets (writes) the provided There are no access alignment requirements.
| |
| setUnsignedShort | back to summary |
|---|---|
| public static void setUnsignedShort(byte[] array, int offset, int value) Sets (writes) the provided There are no access alignment requirements.
| |