public static class DNSIncoming.MessageInputStream extends ByteArrayInputStream
buf, count, mark, pos
Constructor and Description |
---|
DNSIncoming.MessageInputStream(byte[] buffer,
int length) |
DNSIncoming.MessageInputStream(byte[] buffer,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
protected int |
peek() |
int |
readByte() |
byte[] |
readBytes(int len) |
int |
readInt() |
String |
readName() |
String |
readNonNameString() |
int |
readUnsignedShort() |
String |
readUTF(int len) |
available, close, mark, markSupported, read, read, reset, skip
read
public DNSIncoming.MessageInputStream(byte[] buffer, int length)
public DNSIncoming.MessageInputStream(byte[] buffer, int offset, int length)
buffer
- offset
- length
- public int readByte()
public int readUnsignedShort()
public int readInt()
public byte[] readBytes(int len)
public String readUTF(int len)
protected int peek()
public String readName()
public String readNonNameString()
Copyright © 2002–2013 JmDNS. All rights reserved.