public final class SoundData extends RecordAtom
| Modifier | Constructor and Description | 
|---|---|
| protected  | SoundData()Constructs a new empty sound container. | 
| protected  | SoundData(byte[] source,
         int start,
         int len)Constructs the link related atom record from its
  source data. | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | getData()Returns the sound data. | 
| long | getRecordType()Gets the record type. | 
| void | writeOut(OutputStream out)Write the contents of the record back, so it can be written
 to disk. | 
getChildRecords, isAnAtombuildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndianprotected SoundData()
protected SoundData(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 byte[] getData()
public long getRecordType()
getRecordType in class Recordpublic void writeOut(OutputStream out) throws IOException
writeOut in class Recordout - the output stream to write to.IOException - if an error occurs.Copyright © 2020. All rights reserved.