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 void
align(int mask)
int
available()
byte
readByte()
char
readChar()
Date
readFiletime()
void
readFully(byte[] b)
void
readFully(byte[] b, int off, int len)
SID
readId()
int
readInt()
long
readLong()
short
readShort()
SID
readSid()
String
readString()
PacUnicodeString
readUnicodeString()
int
readUnsignedByte()
long
readUnsignedInt()
int
readUnsignedShort()
int
skipBytes(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:
IOException
PACDecodingException
-
readString
public String readString() throws IOException, PACDecodingException
- Throws:
IOException
PACDecodingException
-
readId
public SID readId() throws IOException, PACDecodingException
- Throws:
IOException
PACDecodingException
-
readSid
public SID readSid() throws IOException, PACDecodingException
- Throws:
IOException
PACDecodingException
-
skipBytes
public int skipBytes(int n) throws IOException
- Throws:
IOException
-
-