public class PartialBlockette extends BlocketteUnknown
info, swapBytes, type
Constructor and Description |
---|
PartialBlockette(int type,
byte[] info,
boolean swapBytes,
int priorBytes,
int totalBytes) |
Modifier and Type | Method and Description |
---|---|
static PartialBlockette |
combine(PartialBlockette first,
PartialBlockette second) |
int |
getBytesRead() |
int |
getPriorSize() |
int |
getSoFarSize() |
int |
getTotalSize() |
boolean |
isBegin() |
boolean |
isEnd() |
void |
writeASCII(java.io.PrintWriter out)
Writes an ASCII version of the blockette.
|
calcSize, getName, getSize, getSwapBytes, getType, toBytes
toString, writeASCII
public PartialBlockette(int type, byte[] info, boolean swapBytes, int priorBytes, int totalBytes)
public static PartialBlockette combine(PartialBlockette first, PartialBlockette second)
public void writeASCII(java.io.PrintWriter out)
Blockette
writeASCII
in class BlocketteUnknown
out
- a Writerpublic boolean isBegin()
public boolean isEnd()
public int getTotalSize()
public int getPriorSize()
public int getSoFarSize()
public int getBytesRead()