Class ImmutableMarshalledValueByteStream

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

    @Deprecated
    @ThreadSafe
    public final class ImmutableMarshalledValueByteStream
    extends MarshalledValueByteStream
    Deprecated.
    since 10.0
    A byte stream that is immutable. Bytes are captured during construction and cannot be written to thereafter.
    Since:
    5.1
    Author:
    Manik Surtani
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object thatObject)
      Deprecated.
       
      byte[] getRaw()
      Deprecated.
       
      int hashCode()
      Deprecated.
       
      int size()
      Deprecated.
       
      void write​(int b)
      Deprecated.
       
      • Methods inherited from class java.io.OutputStream

        close, flush, nullOutputStream, write, write
      • Methods inherited from class java.lang.Object

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

      • ImmutableMarshalledValueByteStream

        public ImmutableMarshalledValueByteStream​(byte[] bytes)
        Deprecated.
    • Method Detail

      • write

        public void write​(int b)
                   throws java.io.IOException
        Deprecated.
        Specified by:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException
      • equals

        public boolean equals​(java.lang.Object thatObject)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object