public class DataChunk extends Chunk
Constructor and Description |
---|
DataChunk(ModuleBase module,
ChunkHeader hdr,
DataInputStream dstrm)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
readChunk(RepInfo info)
Reads a chunk and puts a Data property into
the RepInfo object.
|
byteBufString
public DataChunk(ModuleBase module, ChunkHeader hdr, DataInputStream dstrm)
module
- The WaveModule under which this was calledhdr
- The header for this chunkdstrm
- The stream from which the WAVE data are being readpublic boolean readChunk(RepInfo info) throws IOException
readChunk
in class Chunk
info
- RepInfo object to receive informationfalse
if the chunk is structurally
invalid, otherwise true
IOException
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.