public final class SoundCollection extends RecordContainer
_children
Modifier | Constructor and Description |
---|---|
protected |
SoundCollection(byte[] source,
int start,
int len)
Set things up, and find our more interesting children
|
Modifier and Type | Method and Description |
---|---|
long |
getRecordType()
Returns the type (held as a little endian in bytes 3 and 4)
that this class handles.
|
void |
writeOut(OutputStream out)
Have the contents printer out into an OutputStream, used when
writing a file back out to disk.
|
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, handleParentAwareRecords, isAnAtom, moveChildBefore, moveChildrenAfter, moveChildrenBefore, removeChild, setChildRecord, writeOut
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
protected SoundCollection(byte[] source, int start, int len)
source
- the source data as a byte array.start
- the start offset into the byte array.len
- the length of the slice in the byte array.public long getRecordType()
getRecordType
in class Record
public void writeOut(OutputStream out) throws IOException
writeOut
in class Record
out
- the output stream.IOException
- if there was an error writing to the stream.Copyright © 2020. All rights reserved.