Class DNSInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.ByteArrayInputStream
|
+--DNSInputStream
- public class DNSInputStream
- extends java.io.ByteArrayInputStream
|
Field Summary |
protected java.io.DataInputStream |
dataIn
|
| Fields inherited from class java.io.ByteArrayInputStream |
buf,
count,
isClosed,
mark,
pos |
| Fields inherited from class java.io.InputStream |
SKIP_BUFFER_SIZE,
skipBuffer |
| Methods inherited from class java.io.ByteArrayInputStream |
available,
close,
ensureOpen,
mark,
markSupported,
read,
read,
reset,
skip |
| Methods inherited from class java.io.InputStream |
read |
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
dataIn
protected java.io.DataInputStream dataIn
DNSInputStream
public DNSInputStream(byte[] data,
int off,
int len)
readByte
public int readByte()
throws java.io.IOException
readShort
public int readShort()
throws java.io.IOException
readInt
public long readInt()
throws java.io.IOException
readString
public java.lang.String readString()
throws java.io.IOException
readDomainName
public java.lang.String readDomainName()
throws java.io.IOException
readRR
public DNSRR readRR()
throws java.io.IOException