Class DeserializeStream

  • All Implemented Interfaces:
    java.io.DataInput, java.io.DataOutput, java.io.ObjectInput, java.io.ObjectOutput, java.lang.AutoCloseable

    public class DeserializeStream
    extends DataStream
    • Field Detail

      • context

        protected java.lang.Object[] context
      • contextSize

        protected int contextSize
    • Constructor Detail

      • DeserializeStream

        public DeserializeStream​(byte[] array)
      • DeserializeStream

        public DeserializeStream​(byte[] array,
                                 int length)
      • DeserializeStream

        public DeserializeStream​(long address,
                                 long length)
    • Method Detail

      • readObject

        public java.lang.Object readObject()
                                    throws java.io.IOException,
                                           java.lang.ClassNotFoundException
        Specified by:
        readObject in interface java.io.ObjectInput
        Overrides:
        readObject in class DataStream
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.ObjectInput
        Specified by:
        close in interface java.io.ObjectOutput
        Overrides:
        close in class DataStream
      • register

        public void register​(java.lang.Object obj)
        Overrides:
        register in class DataStream
      • newScope

        public java.io.Closeable newScope()
        Overrides:
        newScope in class DataStream