public class IffHeaderChunk extends Object
Modifier and Type | Field and Description |
---|---|
static int |
FORM_HEADER_LENGTH |
static Logger |
logger |
static int |
SIGNATURE_LENGTH |
static int |
SIZE_LENGTH |
static int |
TYPE_LENGTH |
Constructor and Description |
---|
IffHeaderChunk() |
Modifier and Type | Method and Description |
---|---|
static void |
ensureOnEqualBoundary(FileChannel fc,
ChunkHeader chunkHeader) |
static void |
ensureOnEqualBoundary(RandomAccessFile raf,
ChunkHeader chunkHeader)
If Size is not even then we skip a byte, because chunks have to be aligned
|
public static Logger logger
public static int SIGNATURE_LENGTH
public static int SIZE_LENGTH
public static int TYPE_LENGTH
public static int FORM_HEADER_LENGTH
public static void ensureOnEqualBoundary(RandomAccessFile raf, ChunkHeader chunkHeader) throws IOException
raf
- chunkHeader
- IOException
public static void ensureOnEqualBoundary(FileChannel fc, ChunkHeader chunkHeader) throws IOException
IOException
Copyright © 2005–2020 jthink.net. All rights reserved.