Class ByteArrayView
java.lang.Object
org.graalvm.shadowed.org.tukaani.xz.common.ByteArrayView
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetIntBE(byte[] buf, int index) static intgetIntLE(byte[] buf, int index) static longgetLongBE(byte[] buf, int index) static longgetLongLE(byte[] buf, int index) static shortgetShortBE(byte[] buf, int index) static shortgetShortLE(byte[] buf, int index) static voidsetIntBE(byte[] buf, int index, int value) static voidsetIntLE(byte[] buf, int index, int value) static voidsetLongBE(byte[] buf, int index, long value) static voidsetLongLE(byte[] buf, int index, long value) static voidsetShortBE(byte[] buf, int index, short value) static voidsetShortLE(byte[] buf, int index, short value)
-
Field Details
-
ALIGN_SHORT
public static final int ALIGN_SHORT -
ALIGN_INT
public static final int ALIGN_INT -
ALIGN_LONG
public static final int ALIGN_LONG
-
-
Method Details
-
getShortBE
public static short getShortBE(byte[] buf, int index) -
getShortLE
public static short getShortLE(byte[] buf, int index) -
getIntBE
public static int getIntBE(byte[] buf, int index) -
getIntLE
public static int getIntLE(byte[] buf, int index) -
getLongBE
public static long getLongBE(byte[] buf, int index) -
getLongLE
public static long getLongLE(byte[] buf, int index) -
setShortBE
public static void setShortBE(byte[] buf, int index, short value) -
setShortLE
public static void setShortLE(byte[] buf, int index, short value) -
setIntBE
public static void setIntBE(byte[] buf, int index, int value) -
setIntLE
public static void setIntLE(byte[] buf, int index, int value) -
setLongBE
public static void setLongBE(byte[] buf, int index, long value) -
setLongLE
public static void setLongLE(byte[] buf, int index, long value)
-