Top Description Constructors Methods
org.glassfish.grizzly.memory

pack-priv Class Bits

extends Object
Class Inheritance

Modified java.nio.Bits source for Grizzly Purposes.
Since
2.0

Constructor Summary

AccessConstructor and Description
private
Bits()

Method Summary

Modifier and TypeMethod and Description
pack-priv static byte
char0(char x)

pack-priv static byte
char1(char x)

pack-priv static char
getChar(byte[] bb, int bi, boolean bigEndian)

pack-priv static char
getCharB(byte[] bb, int bi)

pack-priv static char
getCharL(byte[] bb, int bi)

pack-priv static double
getDouble(byte[] bb, int bi, boolean bigEndian)

pack-priv static double
getDoubleB(byte[] bb, int bi)

pack-priv static double
getDoubleL(byte[] bb, int bi)

pack-priv static float
getFloat(byte[] bb, int bi, boolean bigEndian)

pack-priv static float
getFloatB(byte[] bb, int bi)

pack-priv static float
getFloatL(byte[] bb, int bi)

pack-priv static int
getInt(byte[] bb, int bi, boolean bigEndian)

pack-priv static int
getIntB(byte[] bb, int bi)

pack-priv static int
getIntL(byte[] bb, int bi)

pack-priv static long
getLong(byte[] bb, int bi, boolean bigEndian)

pack-priv static long
getLongB(byte[] bb, int bi)

pack-priv static long
getLongL(byte[] bb, int bi)

pack-priv static short
getShort(byte[] bb, int bi, boolean bigEndian)

pack-priv static short
getShortB(byte[] bb, int bi)

pack-priv static short
getShortL(byte[] bb, int bi)

pack-priv static byte
int0(int x)

pack-priv static byte
int1(int x)

pack-priv static byte
int2(int x)

pack-priv static byte
int3(int x)

pack-priv static byte
long0(long x)

pack-priv static byte
long1(long x)

pack-priv static byte
long2(long x)

pack-priv static byte
long3(long x)

pack-priv static byte
long4(long x)

pack-priv static byte
long5(long x)

pack-priv static byte
long6(long x)

pack-priv static byte
long7(long x)

pack-priv static char
makeChar(byte b1, byte b0)

pack-priv static int
makeInt(byte b3, byte b2, byte b1, byte b0)

pack-priv static long
makeLong(byte b7, byte b6, byte b5, byte b4, byte b3, byte b2, byte b1, byte b0)

pack-priv static short
makeShort(byte b1, byte b0)

pack-priv static void
putChar(byte[] bb, int bi, char x, boolean bigEndian)

pack-priv static void
putCharB(byte[] bb, int bi, char x)

pack-priv static void
putCharL(byte[] bb, int bi, char x)

pack-priv static void
putDouble(byte[] bb, int bi, double x, boolean bigEndian)

pack-priv static void
putDoubleB(byte[] bb, int bi, double x)

pack-priv static void
putDoubleL(byte[] bb, int bi, double x)

pack-priv static void
putFloat(byte[] bb, int bi, float x, boolean bigEndian)

pack-priv static void
putFloatB(byte[] bb, int bi, float x)

pack-priv static void
putFloatL(byte[] bb, int bi, float x)

pack-priv static void
putInt(byte[] bb, int bi, int x, boolean bigEndian)

pack-priv static void
putIntB(byte[] bb, int bi, int x)

pack-priv static void
putIntL(byte[] bb, int bi, int x)

pack-priv static void
putLong(byte[] bb, int bi, long x, boolean bigEndian)

pack-priv static void
putLongB(byte[] bb, int bi, long x)

pack-priv static void
putLongL(byte[] bb, int bi, long x)

pack-priv static void
putShort(byte[] bb, int bi, short x, boolean bigEndian)

pack-priv static void
putShortB(byte[] bb, int bi, short x)

pack-priv static void
putShortL(byte[] bb, int bi, short x)

pack-priv static byte
short0(short x)

pack-priv static byte
short1(short x)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Bitsback to summary
private Bits()

Method Detail

char0back to summary
pack-priv static byte char0(char x)
char1back to summary
pack-priv static byte char1(char x)
getCharback to summary
pack-priv static char getChar(byte[] bb, int bi, boolean bigEndian)
getCharBback to summary
pack-priv static char getCharB(byte[] bb, int bi)
getCharLback to summary
pack-priv static char getCharL(byte[] bb, int bi)
getDoubleback to summary
pack-priv static double getDouble(byte[] bb, int bi, boolean bigEndian)
getDoubleBback to summary
pack-priv static double getDoubleB(byte[] bb, int bi)
getDoubleLback to summary
pack-priv static double getDoubleL(byte[] bb, int bi)
getFloatback to summary
pack-priv static float getFloat(byte[] bb, int bi, boolean bigEndian)
getFloatBback to summary
pack-priv static float getFloatB(byte[] bb, int bi)
getFloatLback to summary
pack-priv static float getFloatL(byte[] bb, int bi)
getIntback to summary
pack-priv static int getInt(byte[] bb, int bi, boolean bigEndian)
getIntBback to summary
pack-priv static int getIntB(byte[] bb, int bi)
getIntLback to summary
pack-priv static int getIntL(byte[] bb, int bi)
getLongback to summary
pack-priv static long getLong(byte[] bb, int bi, boolean bigEndian)
getLongBback to summary
pack-priv static long getLongB(byte[] bb, int bi)
getLongLback to summary
pack-priv static long getLongL(byte[] bb, int bi)
getShortback to summary
pack-priv static short getShort(byte[] bb, int bi, boolean bigEndian)
getShortBback to summary
pack-priv static short getShortB(byte[] bb, int bi)
getShortLback to summary
pack-priv static short getShortL(byte[] bb, int bi)
int0back to summary
pack-priv static byte int0(int x)
int1back to summary
pack-priv static byte int1(int x)
int2back to summary
pack-priv static byte int2(int x)
int3back to summary
pack-priv static byte int3(int x)
long0back to summary
pack-priv static byte long0(long x)
long1back to summary
pack-priv static byte long1(long x)
long2back to summary
pack-priv static byte long2(long x)
long3back to summary
pack-priv static byte long3(long x)
long4back to summary
pack-priv static byte long4(long x)
long5back to summary
pack-priv static byte long5(long x)
long6back to summary
pack-priv static byte long6(long x)
long7back to summary
pack-priv static byte long7(long x)
makeCharback to summary
pack-priv static char makeChar(byte b1, byte b0)
makeIntback to summary
pack-priv static int makeInt(byte b3, byte b2, byte b1, byte b0)
makeLongback to summary
pack-priv static long makeLong(byte b7, byte b6, byte b5, byte b4, byte b3, byte b2, byte b1, byte b0)
makeShortback to summary
pack-priv static short makeShort(byte b1, byte b0)
putCharback to summary
pack-priv static void putChar(byte[] bb, int bi, char x, boolean bigEndian)
putCharBback to summary
pack-priv static void putCharB(byte[] bb, int bi, char x)
putCharLback to summary
pack-priv static void putCharL(byte[] bb, int bi, char x)
putDoubleback to summary
pack-priv static void putDouble(byte[] bb, int bi, double x, boolean bigEndian)
putDoubleBback to summary
pack-priv static void putDoubleB(byte[] bb, int bi, double x)
putDoubleLback to summary
pack-priv static void putDoubleL(byte[] bb, int bi, double x)
putFloatback to summary
pack-priv static void putFloat(byte[] bb, int bi, float x, boolean bigEndian)
putFloatBback to summary
pack-priv static void putFloatB(byte[] bb, int bi, float x)
putFloatLback to summary
pack-priv static void putFloatL(byte[] bb, int bi, float x)
putIntback to summary
pack-priv static void putInt(byte[] bb, int bi, int x, boolean bigEndian)
putIntBback to summary
pack-priv static void putIntB(byte[] bb, int bi, int x)
putIntLback to summary
pack-priv static void putIntL(byte[] bb, int bi, int x)
putLongback to summary
pack-priv static void putLong(byte[] bb, int bi, long x, boolean bigEndian)
putLongBback to summary
pack-priv static void putLongB(byte[] bb, int bi, long x)
putLongLback to summary
pack-priv static void putLongL(byte[] bb, int bi, long x)
putShortback to summary
pack-priv static void putShort(byte[] bb, int bi, short x, boolean bigEndian)
putShortBback to summary
pack-priv static void putShortB(byte[] bb, int bi, short x)
putShortLback to summary
pack-priv static void putShortL(byte[] bb, int bi, short x)
short0back to summary
pack-priv static byte short0(short x)
short1back to summary
pack-priv static byte short1(short x)