view
Class BitUtils

java.lang.Object
  extended by view.BitUtils

 class BitUtils
extends Object


Constructor Summary
BitUtils()
           
 
Method Summary
static byte BitsNeeded(int n)
           
(package private) static void WriteString(OutputStream output, String string)
           
static void WriteWord(OutputStream output, short w)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitUtils

BitUtils()
Method Detail

BitsNeeded

public static byte BitsNeeded(int n)
Parameters:
n -
Returns:
byte

WriteWord

public static void WriteWord(OutputStream output,
                             short w)
                      throws IOException
Parameters:
output -
w -
Throws:
IOException

WriteString

static void WriteString(OutputStream output,
                        String string)
                 throws IOException
Parameters:
output -
string -
Throws:
IOException