Methods Summary |
---|
public void | _parseDetails(java.nio.ByteBuffer content)
parseVersionAndFlags(content);
if ((getFlags() & 1) == 1) {
auxInfoType = IsoTypeReader.readUInt32(content);
auxInfoTypeParameter = IsoTypeReader.readUInt32(content);
}
int entryCount = l2i(IsoTypeReader.readUInt32(content));
offsets.clear();
for (int i = 0; i < entryCount; i++) {
if (getVersion() == 0) {
offsets.add(IsoTypeReader.readUInt32(content));
} else {
offsets.add(IsoTypeReader.readUInt64(content));
}
}
|
public long | getAuxInfoType()
return auxInfoType;
|
public long | getAuxInfoTypeParameter()
return auxInfoTypeParameter;
|
protected void | getContent(java.nio.ByteBuffer byteBuffer)
writeVersionAndFlags(byteBuffer);
if ((getFlags() & 1) == 1) {
IsoTypeWriter.writeUInt32(byteBuffer, auxInfoType);
IsoTypeWriter.writeUInt32(byteBuffer, auxInfoTypeParameter);
}
IsoTypeWriter.writeUInt32(byteBuffer, offsets.size());
for (Long offset : offsets) {
if (getVersion() == 0) {
IsoTypeWriter.writeUInt32(byteBuffer, offset);
} else {
IsoTypeWriter.writeUInt64(byteBuffer, offset);
}
}
|
protected long | getContentSize()
return 8 + (getVersion() == 0 ? 4 * offsets.size() : 8 * offsets.size()) + ((getFlags() & 1) == 1 ? 8 : 0);
|
public java.util.List | getOffsets()
return offsets;
|
public void | setAuxInfoType(long auxInfoType)
this.auxInfoType = auxInfoType;
|
public void | setAuxInfoTypeParameter(long auxInfoTypeParameter)
this.auxInfoTypeParameter = auxInfoTypeParameter;
|
public void | setOffsets(java.util.List offsets)
this.offsets = offsets;
|