org.lee.mugen.imageIO
Class ByteArrayBuilder

java.lang.Object
  extended by org.lee.mugen.imageIO.ByteArrayBuilder

public class ByteArrayBuilder
extends java.lang.Object

A utility set which will build byte arrays from specified data types.

Author:
Kevin Glass

Constructor Summary
ByteArrayBuilder()
           
 
Method Summary
static byte[] fromStream(java.io.InputStream in)
          A static utility to completly read an input stream and produce a byte array of the read data
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayBuilder

public ByteArrayBuilder()
Method Detail

fromStream

public static byte[] fromStream(java.io.InputStream in)
                         throws java.io.IOException
A static utility to completly read an input stream and produce a byte array of the read data

Throws:
java.io.IOException