Methods Summary |
---|
public void | _parseDetails(java.nio.ByteBuffer content)
int count = (int) (content.remaining() / 4);
trackIds = new long[count];
for (int i = 0; i < count; i++) {
trackIds[i] = IsoTypeReader.readUInt32(content);
}
|
protected void | getContent(java.nio.ByteBuffer byteBuffer)
for (long trackId : trackIds) {
IsoTypeWriter.writeUInt32(byteBuffer, trackId);
}
|
protected long | getContentSize()
return trackIds.length * 4;
|
public long[] | getTrackIds()
return trackIds;
|
public java.lang.String | toString()
StringBuilder buffer = new StringBuilder();
buffer.append("TrackReferenceTypeBox[type=").append(getType());
for (int i = 0; i < trackIds.length; i++) {
buffer.append(";trackId");
buffer.append(i);
buffer.append("=");
buffer.append(trackIds[i]);
}
buffer.append("]");
return buffer.toString();
|