md3.util
Class ByteUtils

java.lang.Object
  |
  +--md3.util.ByteUtils

public final class ByteUtils
extends java.lang.Object

Booch utility class with usefull byte-level functions.

Author:
Erwin Vervaet (erwin@cs.kuleuven.ac.be)

Method Summary
static void copyAllBytes(java.io.InputStream source, java.io.OutputStream target)
           
static byte getByte(int i, int pos)
          Return byte at position pos in integer i.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getByte

public static byte getByte(int i,
                           int pos)

Return byte at position pos in integer i.


copyAllBytes

public static void copyAllBytes(java.io.InputStream source,
                                java.io.OutputStream target)
                         throws java.io.IOException