j2d.io.gif.stills
Class BitUtils

java.lang.Object
  extended by j2d.io.gif.stills.BitUtils

public class BitUtils
extends java.lang.Object


Constructor Summary
BitUtils()
           
 
Method Summary
static byte bitsNeeded(int n)
           
static void writeString(java.io.OutputStream os, java.lang.String string)
           
static void writeWord(java.io.OutputStream os, short w)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitUtils

public BitUtils()
Method Detail

bitsNeeded

public static byte bitsNeeded(int n)

writeWord

public static void writeWord(java.io.OutputStream os,
                             short w)
                      throws java.io.IOException
Throws:
java.io.IOException

writeString

public static void writeString(java.io.OutputStream os,
                               java.lang.String string)
                        throws java.io.IOException
Throws:
java.io.IOException