public class PacDataInputStream extends Object
| Constructor and Description |
|---|
PacDataInputStream(InputStream in) |
| Modifier and Type | Method and 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) |
public PacDataInputStream(InputStream in) throws IOException
IOExceptionpublic void align(int mask)
throws IOException
IOExceptionpublic int available()
throws IOException
IOExceptionpublic void readFully(byte[] b)
throws IOException
IOExceptionpublic void readFully(byte[] b,
int off,
int len)
throws IOException
IOExceptionpublic char readChar()
throws IOException
IOExceptionpublic byte readByte()
throws IOException
IOExceptionpublic short readShort()
throws IOException
IOExceptionpublic int readInt()
throws IOException
IOExceptionpublic long readLong()
throws IOException
IOExceptionpublic int readUnsignedByte()
throws IOException
IOExceptionpublic long readUnsignedInt()
throws IOException
IOExceptionpublic int readUnsignedShort()
throws IOException
IOExceptionpublic Date readFiletime() throws IOException
IOExceptionpublic PacUnicodeString readUnicodeString() throws IOException, PACDecodingException
IOExceptionPACDecodingExceptionpublic String readString() throws IOException, PACDecodingException
IOExceptionPACDecodingExceptionpublic SID readId() throws IOException, PACDecodingException
IOExceptionPACDecodingExceptionpublic SID readSid() throws IOException, PACDecodingException
IOExceptionPACDecodingExceptionpublic int skipBytes(int n)
throws IOException
IOExceptionCopyright © 2021. All rights reserved.