Class DatagramInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class DatagramInputStream
    extends java.io.InputStream
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean markSupported()  
      int read()  
      int read​(byte[] buf)  
      int read​(byte[] buf, int pos, int len)  
      • Methods inherited from class java.io.InputStream

        available, close, mark, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • markSupported

        public boolean markSupported()
        Overrides:
        markSupported in class java.io.InputStream
      • read

        public int read()
        Specified by:
        read in class java.io.InputStream
      • read

        public int read​(byte[] buf)
        Overrides:
        read in class java.io.InputStream
      • read

        public int read​(byte[] buf,
                        int pos,
                        int len)
        Overrides:
        read in class java.io.InputStream