- All Implemented Interfaces:
SpecEntry<IntegerList>
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetOffset(int offset) intgetType()voidread(ByteBuffer buffer) Reads this entries value from the provided buffer using the set count.intsize()Returns the size this entry will need in the provided data buffer to write it's contents, corrected for any trailing zeros to fill to a boundary.toString()voidwrite(ByteBuffer buffer) Writes this entries index to the index buffer and its values to the output channel provided.Methods inherited from class org.xbib.rpm.header.entry.AbstractSpecEntry
getEntryType, getValues, incCount, index, ready, setCount, setEntryType, setOffset, setSize, setValues
-
Constructor Details
-
Int32SpecEntry
public Int32SpecEntry()
-
-
Method Details
-
getOffset
public int getOffset(int offset) - Specified by:
getOffsetin interfaceSpecEntry<IntegerList>- Overrides:
getOffsetin classAbstractSpecEntry<IntegerList>
-
getType
public int getType()- Specified by:
getTypein interfaceSpecEntry<IntegerList>- Specified by:
getTypein classAbstractSpecEntry<IntegerList>
-
size
public int size()Description copied from class:AbstractSpecEntryReturns the size this entry will need in the provided data buffer to write it's contents, corrected for any trailing zeros to fill to a boundary.- Specified by:
sizein interfaceSpecEntry<IntegerList>- Specified by:
sizein classAbstractSpecEntry<IntegerList>
-
read
Description copied from class:AbstractSpecEntryReads this entries value from the provided buffer using the set count.- Specified by:
readin interfaceSpecEntry<IntegerList>- Specified by:
readin classAbstractSpecEntry<IntegerList>
-
write
Description copied from class:AbstractSpecEntryWrites this entries index to the index buffer and its values to the output channel provided.- Specified by:
writein interfaceSpecEntry<IntegerList>- Specified by:
writein classAbstractSpecEntry<IntegerList>
-
toString
- Overrides:
toStringin classAbstractSpecEntry<IntegerList>
-