Class BinaryInputArchive

  • All Implemented Interfaces:
    InputArchive

    public class BinaryInputArchive
    extends java.lang.Object
    implements InputArchive
    • Field Detail

      • UNREASONBLE_LENGTH

        public static final java.lang.String UNREASONBLE_LENGTH
        See Also:
        Constant Field Values
      • maxBuffer

        public static final int maxBuffer
    • Constructor Detail

      • BinaryInputArchive

        public BinaryInputArchive​(java.io.DataInput in)
        Creates a new instance of BinaryInputArchive.
      • BinaryInputArchive

        public BinaryInputArchive​(java.io.DataInput in,
                                  int maxBufferSize,
                                  int extraMaxBufferSize)
    • Method Detail

      • readByte

        public byte readByte​(java.lang.String tag)
                      throws java.io.IOException
        Specified by:
        readByte in interface InputArchive
        Throws:
        java.io.IOException
      • readBool

        public boolean readBool​(java.lang.String tag)
                         throws java.io.IOException
        Specified by:
        readBool in interface InputArchive
        Throws:
        java.io.IOException
      • readInt

        public int readInt​(java.lang.String tag)
                    throws java.io.IOException
        Specified by:
        readInt in interface InputArchive
        Throws:
        java.io.IOException
      • readLong

        public long readLong​(java.lang.String tag)
                      throws java.io.IOException
        Specified by:
        readLong in interface InputArchive
        Throws:
        java.io.IOException
      • readFloat

        public float readFloat​(java.lang.String tag)
                        throws java.io.IOException
        Specified by:
        readFloat in interface InputArchive
        Throws:
        java.io.IOException
      • readDouble

        public double readDouble​(java.lang.String tag)
                          throws java.io.IOException
        Specified by:
        readDouble in interface InputArchive
        Throws:
        java.io.IOException
      • readString

        public java.lang.String readString​(java.lang.String tag)
                                    throws java.io.IOException
        Specified by:
        readString in interface InputArchive
        Throws:
        java.io.IOException
      • readBuffer

        public byte[] readBuffer​(java.lang.String tag)
                          throws java.io.IOException
        Specified by:
        readBuffer in interface InputArchive
        Throws:
        java.io.IOException
      • readRecord

        public void readRecord​(Record r,
                               java.lang.String tag)
                        throws java.io.IOException
        Specified by:
        readRecord in interface InputArchive
        Throws:
        java.io.IOException
      • startRecord

        public void startRecord​(java.lang.String tag)
                         throws java.io.IOException
        Specified by:
        startRecord in interface InputArchive
        Throws:
        java.io.IOException
      • endRecord

        public void endRecord​(java.lang.String tag)
                       throws java.io.IOException
        Specified by:
        endRecord in interface InputArchive
        Throws:
        java.io.IOException
      • startVector

        public Index startVector​(java.lang.String tag)
                          throws java.io.IOException
        Specified by:
        startVector in interface InputArchive
        Throws:
        java.io.IOException
      • endVector

        public void endVector​(java.lang.String tag)
                       throws java.io.IOException
        Specified by:
        endVector in interface InputArchive
        Throws:
        java.io.IOException
      • startMap

        public Index startMap​(java.lang.String tag)
                       throws java.io.IOException
        Specified by:
        startMap in interface InputArchive
        Throws:
        java.io.IOException
      • endMap

        public void endMap​(java.lang.String tag)
                    throws java.io.IOException
        Specified by:
        endMap in interface InputArchive
        Throws:
        java.io.IOException