Class LEDataOutputStream

java.lang.Object
java.io.OutputStream
org.eclipse.swt.internal.image.LEDataOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

final class LEDataOutputStream extends OutputStream
  • Field Details

  • Constructor Details

    • LEDataOutputStream

      public LEDataOutputStream(OutputStream output)
  • Method Details

    • write

      public void write(byte[] b, int off, int len) throws IOException
      Write the specified number of bytes of the given byte array, starting at the specified offset, to the output stream.
      Overrides:
      write in class OutputStream
      Throws:
      IOException
    • write

      public void write(int b) throws IOException
      Write the given byte to the output stream.
      Specified by:
      write in class OutputStream
      Throws:
      IOException
    • writeByte

      public void writeByte(byte b) throws IOException
      Write the given byte to the output stream.
      Throws:
      IOException
    • writeInt

      public void writeInt(int theInt) throws IOException
      Write the four bytes of the given integer to the output stream.
      Throws:
      IOException
    • writeShort

      public void writeShort(int theShort) throws IOException
      Write the two bytes of the given short to the output stream.
      Throws:
      IOException