JmDNS 3.4.1

javax.jmdns.impl
Class DNSIncoming.MessageInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.ByteArrayInputStream
          extended by javax.jmdns.impl.DNSIncoming.MessageInputStream
All Implemented Interfaces:
Closeable
Enclosing class:
DNSIncoming

public static class DNSIncoming.MessageInputStream
extends ByteArrayInputStream


Field Summary
 
Fields inherited from class java.io.ByteArrayInputStream
buf, count, mark, pos
 
Constructor Summary
DNSIncoming.MessageInputStream(byte[] buffer, int length)
           
DNSIncoming.MessageInputStream(byte[] buffer, int offset, int length)
           
 
Method Summary
protected  int peek()
           
 int readByte()
           
 byte[] readBytes(int len)
           
 int readInt()
           
 String readName()
           
 String readNonNameString()
           
 int readUnsignedShort()
           
 String readUTF(int len)
           
 
Methods inherited from class java.io.ByteArrayInputStream
available, close, 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, toString, wait, wait, wait
 

Constructor Detail

DNSIncoming.MessageInputStream

public DNSIncoming.MessageInputStream(byte[] buffer,
                                      int length)

DNSIncoming.MessageInputStream

public DNSIncoming.MessageInputStream(byte[] buffer,
                                      int offset,
                                      int length)
Parameters:
buffer -
offset -
length -
Method Detail

readByte

public int readByte()

readUnsignedShort

public int readUnsignedShort()

readInt

public int readInt()

readBytes

public byte[] readBytes(int len)

readUTF

public String readUTF(int len)

peek

protected int peek()

readName

public String readName()

readNonNameString

public String readNonNameString()

Last updated 2011-08-25 12:40

Copyright © 2002-2011 JmDNS. All Rights Reserved.