org.apache.poi.hssf.record.crypto
Class Biff8DecryptingStream
- java.lang.Object
-
- org.apache.poi.hssf.record.crypto.Biff8DecryptingStream
-
- All Implemented Interfaces:
- BiffHeaderInput, LittleEndianInput
public final class Biff8DecryptingStream extends java.lang.Object implements BiffHeaderInput, LittleEndianInput
-
-
Constructor Summary
Constructors Constructor and Description Biff8DecryptingStream(java.io.InputStream in, int initialOffset, Biff8EncryptionKey key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intavailable()bytereadByte()intreadDataSize()Reads an unsigned short value without decryptingdoublereadDouble()voidreadFully(byte[] buf)voidreadFully(byte[] buf, int off, int len)intreadInt()longreadLong()intreadRecordSID()Reads an unsigned short value without decryptingshortreadShort()intreadUByte()intreadUShort()
-
-
-
Constructor Detail
-
Biff8DecryptingStream
public Biff8DecryptingStream(java.io.InputStream in, int initialOffset, Biff8EncryptionKey key)
-
-
Method Detail
-
available
public int available()
- Specified by:
availablein interfaceBiffHeaderInput- Specified by:
availablein interfaceLittleEndianInput
-
readRecordSID
public int readRecordSID()
Reads an unsigned short value without decrypting- Specified by:
readRecordSIDin interfaceBiffHeaderInput
-
readDataSize
public int readDataSize()
Reads an unsigned short value without decrypting- Specified by:
readDataSizein interfaceBiffHeaderInput
-
readDouble
public double readDouble()
- Specified by:
readDoublein interfaceLittleEndianInput
-
readFully
public void readFully(byte[] buf)
- Specified by:
readFullyin interfaceLittleEndianInput
-
readFully
public void readFully(byte[] buf, int off, int len)- Specified by:
readFullyin interfaceLittleEndianInput
-
readUByte
public int readUByte()
- Specified by:
readUBytein interfaceLittleEndianInput
-
readByte
public byte readByte()
- Specified by:
readBytein interfaceLittleEndianInput
-
readUShort
public int readUShort()
- Specified by:
readUShortin interfaceLittleEndianInput
-
readShort
public short readShort()
- Specified by:
readShortin interfaceLittleEndianInput
-
readInt
public int readInt()
- Specified by:
readIntin interfaceLittleEndianInput
-
readLong
public long readLong()
- Specified by:
readLongin interfaceLittleEndianInput
-
-
DataMelt 3.0 © DataMelt by jWork.ORG