Class RMQByteArrayOutputStream

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

    public class RMQByteArrayOutputStream
    extends java.io.ByteArrayOutputStream
    • Field Summary

      • Fields inherited from class java.io.ByteArrayOutputStream

        buf, count
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void writeBoolean​(boolean value)  
      void writeByte​(byte value)  
      void writeBytes​(byte[] value)  
      void writeBytes​(byte[] value, int offset, int length)  
      void writeChar​(char value)  
      void writeDouble​(double value)  
      void writeFloat​(float value)  
      void writeInt​(int value)  
      void writeLong​(long value)  
      void writeObject​(java.lang.Object value)  
      void writeShort​(short value)  
      void writeUTF​(java.lang.String value)  
      • Methods inherited from class java.io.ByteArrayOutputStream

        close, reset, size, toByteArray, toString, toString, toString, toString, write, write, writeTo
      • Methods inherited from class java.io.OutputStream

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

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

      • RMQByteArrayOutputStream

        public RMQByteArrayOutputStream​(int size)
    • Method Detail

      • writeBoolean

        public void writeBoolean​(boolean value)
      • writeByte

        public void writeByte​(byte value)
      • writeShort

        public void writeShort​(short value)
      • writeChar

        public void writeChar​(char value)
      • writeInt

        public void writeInt​(int value)
      • writeLong

        public void writeLong​(long value)
      • writeFloat

        public void writeFloat​(float value)
      • writeDouble

        public void writeDouble​(double value)
      • writeUTF

        public void writeUTF​(java.lang.String value)
                      throws jakarta.jms.JMSException
        Throws:
        jakarta.jms.JMSException
      • writeBytes

        public void writeBytes​(byte[] value)
        Overrides:
        writeBytes in class java.io.ByteArrayOutputStream
      • writeBytes

        public void writeBytes​(byte[] value,
                               int offset,
                               int length)
      • writeObject

        public void writeObject​(java.lang.Object value)
                         throws jakarta.jms.JMSException
        Throws:
        jakarta.jms.JMSException