public static class Zip64ExtensibleDataSector.RawSpecialPurposeData extends java.lang.Object implements Zip64ExtensibleDataSector.Z64SpecialPurposeData
PREFIX_LENGTH| Modifier and Type | Method and Description |
|---|---|
int |
getHeaderId()
Obtains the Special purpose data's header id.
|
int |
size()
Obtains the size of the data in this special purpose data.
|
void |
write(java.nio.ByteBuffer out)
Writes the special purpose data to the buffer.
|
public int getHeaderId()
Zip64ExtensibleDataSector.Z64SpecialPurposeDatagetHeaderId in interface Zip64ExtensibleDataSector.Z64SpecialPurposeDatapublic int size()
Zip64ExtensibleDataSector.Z64SpecialPurposeDatasize in interface Zip64ExtensibleDataSector.Z64SpecialPurposeDatapublic void write(java.nio.ByteBuffer out)
throws java.io.IOException
Zip64ExtensibleDataSector.Z64SpecialPurposeDatawrite in interface Zip64ExtensibleDataSector.Z64SpecialPurposeDataout - the buffer where to write the data to; exactly Zip64ExtensibleDataSector.Z64SpecialPurposeData.size() bytes will be
written.java.io.IOException - failed to write special purpose data.