public void getContent(ByteBuffer paramByteBuffer) { if ((ItemLocationBox.this.getVersion() == 1) && (ItemLocationBox.this.indexSize > 0)) IsoTypeWriterVariable.write( this.extentIndex, paramByteBuffer, ItemLocationBox.this.indexSize); IsoTypeWriterVariable.write( this.extentOffset, paramByteBuffer, ItemLocationBox.this.offsetSize); IsoTypeWriterVariable.write( this.extentLength, paramByteBuffer, ItemLocationBox.this.lengthSize); }
public void getContent(ByteBuffer paramByteBuffer) { IsoTypeWriter.writeUInt16(paramByteBuffer, this.itemId); if (ItemLocationBox.this.getVersion() == 1) IsoTypeWriter.writeUInt16(paramByteBuffer, this.constructionMethod); IsoTypeWriter.writeUInt16(paramByteBuffer, this.dataReferenceIndex); if (ItemLocationBox.this.baseOffsetSize > 0) IsoTypeWriterVariable.write( this.baseOffset, paramByteBuffer, ItemLocationBox.this.baseOffsetSize); IsoTypeWriter.writeUInt16(paramByteBuffer, this.extents.size()); Iterator localIterator = this.extents.iterator(); while (localIterator.hasNext()) ((ItemLocationBox.Extent) localIterator.next()).getContent(paramByteBuffer); }