Interface Zip64ExtensibleDataSector.Z64SpecialPurposeData
-
- All Known Implementing Classes:
Zip64ExtensibleDataSector.RawSpecialPurposeData
- Enclosing class:
- Zip64ExtensibleDataSector
public static interface Zip64ExtensibleDataSector.Z64SpecialPurposeData
-
-
Field Summary
Fields Modifier and Type Field Description static intPREFIX_LENGTHLength of header id and the size length fields that comes before the data
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetHeaderId()Obtains the Special purpose data's header id.intsize()Obtains the size of the data in this special purpose data.voidwrite(java.nio.ByteBuffer out)Writes the special purpose data to the buffer.
-
-
-
Field Detail
-
PREFIX_LENGTH
static final int PREFIX_LENGTH
Length of header id and the size length fields that comes before the data- See Also:
- Constant Field Values
-
-
Method Detail
-
getHeaderId
int getHeaderId()
Obtains the Special purpose data's header id.- Returns:
- the data's header id.
-
size
int size()
Obtains the size of the data in this special purpose data.- Returns:
- the number of bytes needed to write the data.
-
write
void write(java.nio.ByteBuffer out) throws java.io.IOExceptionWrites the special purpose data to the buffer.- Parameters:
out- the buffer where to write the data to; exactlysize()bytes will be written.- Throws:
java.io.IOException- failed to write special purpose data.
-
-