Package jcifs.pac
Class PacDataInputStream
- java.lang.Object
-
- jcifs.pac.PacDataInputStream
-
public class PacDataInputStream extends Object
-
-
Constructor Summary
Constructors Constructor Description PacDataInputStream(InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidalign(int mask)intavailable()bytereadByte()charreadChar()DatereadFiletime()voidreadFully(byte[] b)voidreadFully(byte[] b, int off, int len)SIDreadId()intreadInt()longreadLong()shortreadShort()SIDreadSid()StringreadString()PacUnicodeStringreadUnicodeString()intreadUnsignedByte()longreadUnsignedInt()intreadUnsignedShort()intskipBytes(int n)
-
-
-
Constructor Detail
-
PacDataInputStream
public PacDataInputStream(InputStream in) throws IOException
- Throws:
IOException
-
-
Method Detail
-
align
public void align(int mask) throws IOException- Throws:
IOException
-
available
public int available() throws IOException- Throws:
IOException
-
readFully
public void readFully(byte[] b) throws IOException- Throws:
IOException
-
readFully
public void readFully(byte[] b, int off, int len) throws IOException- Throws:
IOException
-
readChar
public char readChar() throws IOException- Throws:
IOException
-
readByte
public byte readByte() throws IOException- Throws:
IOException
-
readShort
public short readShort() throws IOException- Throws:
IOException
-
readInt
public int readInt() throws IOException- Throws:
IOException
-
readLong
public long readLong() throws IOException- Throws:
IOException
-
readUnsignedByte
public int readUnsignedByte() throws IOException- Throws:
IOException
-
readUnsignedInt
public long readUnsignedInt() throws IOException- Throws:
IOException
-
readUnsignedShort
public int readUnsignedShort() throws IOException- Throws:
IOException
-
readFiletime
public Date readFiletime() throws IOException
- Throws:
IOException
-
readUnicodeString
public PacUnicodeString readUnicodeString() throws IOException, PACDecodingException
- Throws:
IOExceptionPACDecodingException
-
readString
public String readString() throws IOException, PACDecodingException
- Throws:
IOExceptionPACDecodingException
-
readId
public SID readId() throws IOException, PACDecodingException
- Throws:
IOExceptionPACDecodingException
-
readSid
public SID readSid() throws IOException, PACDecodingException
- Throws:
IOExceptionPACDecodingException
-
skipBytes
public int skipBytes(int n) throws IOException- Throws:
IOException
-
-