Home » openjdk-7 » java » io » [javadoc | source]
java.io
class: Bits [javadoc | source]
java.lang.Object
   java.io.Bits
Utility methods for packing/unpacking primitive values in/out of byte arrays using big-endian byte ordering.
Method from java.io.Bits Summary:
getBoolean,   getChar,   getDouble,   getFloat,   getInt,   getLong,   getShort,   putBoolean,   putChar,   putDouble,   putFloat,   putInt,   putLong,   putShort
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.io.Bits Detail:
 static boolean getBoolean(byte[] b,
    int off) 
 static char getChar(byte[] b,
    int off) 
 static double getDouble(byte[] b,
    int off) 
 static float getFloat(byte[] b,
    int off) 
 static int getInt(byte[] b,
    int off) 
 static long getLong(byte[] b,
    int off) 
 static short getShort(byte[] b,
    int off) 
 static  void putBoolean(byte[] b,
    int off,
    boolean val) 
 static  void putChar(byte[] b,
    int off,
    char val) 
 static  void putDouble(byte[] b,
    int off,
    double val) 
 static  void putFloat(byte[] b,
    int off,
    float val) 
 static  void putInt(byte[] b,
    int off,
    int val) 
 static  void putLong(byte[] b,
    int off,
    long val) 
 static  void putShort(byte[] b,
    int off,
    short val)