Class SerializeStream

  • All Implemented Interfaces:
    java.io.DataInput, java.io.DataOutput, java.io.ObjectInput, java.io.ObjectOutput, java.lang.AutoCloseable
    Direct Known Subclasses:
    PersistStream

    public class SerializeStream
    extends DataStream
    • Constructor Detail

      • SerializeStream

        public SerializeStream​(byte[] array)
      • SerializeStream

        public SerializeStream​(byte[] array,
                               int contextCapacity)
      • SerializeStream

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

      • writeObject

        public void writeObject​(java.lang.Object obj)
                         throws java.io.IOException
        Specified by:
        writeObject in interface java.io.ObjectOutput
        Overrides:
        writeObject in class DataStream
        Throws:
        java.io.IOException
      • 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
      • newScope

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