Class ClassInput

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

    class ClassInput
    extends java.io.DataInputStream
    A wrapper around DataInputStream to provide input functions in terms of the types defined on pages 83.
    • Field Summary

      • Fields inherited from class java.io.FilterInputStream

        in
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassInput​(java.io.InputStream in)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) int getU1()  
      (package private) byte[] getU1Array​(int count)  
      (package private) int getU2()  
      (package private) int getU4()  
      • Methods inherited from class java.io.DataInputStream

        read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
      • Methods inherited from class java.io.FilterInputStream

        available, close, mark, markSupported, read, reset, skip
      • Methods inherited from class java.io.InputStream

        nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
      • Methods inherited from class java.lang.Object

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

      • ClassInput

        ClassInput​(java.io.InputStream in)
    • Method Detail

      • getU1

        int getU1()
           throws java.io.IOException
        Throws:
        java.io.IOException
      • getU2

        int getU2()
           throws java.io.IOException
        Throws:
        java.io.IOException
      • getU4

        int getU4()
           throws java.io.IOException
        Throws:
        java.io.IOException
      • getU1Array

        byte[] getU1Array​(int count)
                   throws java.io.IOException
        Throws:
        java.io.IOException