com.mebigfatguy.patchanim.encoders
Class Chunk

java.lang.Object
  extended by com.mebigfatguy.patchanim.encoders.Chunk

public class Chunk
extends java.lang.Object


Field Summary
 int crc
           
 byte[] data
           
 int length
           
 int type
           
 
Constructor Summary
Chunk(int len, int chunkType)
           
 
Method Summary
 void calcCRC()
           
 void injectByte(int offset, int value)
           
 void injectInt(int offset, int value)
           
 void injectShort(int offset, int value)
           
 void write(java.io.DataOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

length

public int length

type

public int type

data

public byte[] data

crc

public int crc
Constructor Detail

Chunk

public Chunk(int len,
             int chunkType)
Method Detail

write

public void write(java.io.DataOutputStream out)
           throws java.io.IOException
Throws:
java.io.IOException

injectInt

public void injectInt(int offset,
                      int value)

injectShort

public void injectShort(int offset,
                        int value)

injectByte

public void injectByte(int offset,
                       int value)

calcCRC

public void calcCRC()


Copyright © 2008 MeBigFatGuy.com. All Rights Reserved.