public abstract class Chunk extends Object
Modifier and Type | Field and Description |
---|---|
protected ByteBuffer |
chunkData |
protected ChunkHeader |
chunkHeader |
Constructor and Description |
---|
Chunk(ByteBuffer chunkData,
ChunkHeader chunkHeader)
Constructor used by Wav
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
readChunk()
Reads a chunk and puts appropriate information into
the RepInfo object.
|
protected ByteBuffer chunkData
protected ChunkHeader chunkHeader
public Chunk(ByteBuffer chunkData, ChunkHeader chunkHeader)
chunkData
- chunkHeader
- public abstract boolean readChunk() throws IOException
false
if the chunk is structurally
invalid, otherwise true
IOException
Copyright © 2005–2020 jthink.net. All rights reserved.