com.caucho.util
Class BitsUtil

java.lang.Object
  extended by com.caucho.util.BitsUtil

public class BitsUtil
extends java.lang.Object

bit/bytes utilities.


Constructor Summary
BitsUtil()
           
 
Method Summary
static long readLong(byte[] buffer, int offset)
           
static void writeLong(byte[] buffer, int offset, long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitsUtil

public BitsUtil()
Method Detail

writeLong

public static void writeLong(byte[] buffer,
                             int offset,
                             long value)

readLong

public static long readLong(byte[] buffer,
                            int offset)