org.jagatoo.loaders.models.ms3d.utils
Class BinaryUtils

java.lang.Object
  extended by org.jagatoo.loaders.models.ms3d.utils.BinaryUtils

public class BinaryUtils
extends java.lang.Object


Constructor Summary
BinaryUtils()
           
 
Method Summary
static org.openmali.vecmath2.Colorf readColorf(LittleEndianDataInputStream in)
           
static int[] readIntArray(LittleEndianDataInputStream in, int length)
           
static org.openmali.vecmath2.Point3f readPoint3f(LittleEndianDataInputStream in)
           
static java.lang.String readString(LittleEndianDataInputStream in, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryUtils

public BinaryUtils()
Method Detail

readString

public static java.lang.String readString(LittleEndianDataInputStream in,
                                          int length)
                                   throws java.io.IOException
Throws:
java.io.IOException

readIntArray

public static int[] readIntArray(LittleEndianDataInputStream in,
                                 int length)
                          throws java.io.IOException
Throws:
java.io.IOException

readPoint3f

public static org.openmali.vecmath2.Point3f readPoint3f(LittleEndianDataInputStream in)
                                                 throws java.io.IOException
Throws:
java.io.IOException

readColorf

public static org.openmali.vecmath2.Colorf readColorf(LittleEndianDataInputStream in)
                                               throws java.io.IOException
Throws:
java.io.IOException