Class LittleEndianOutputStream

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

    public final class LittleEndianOutputStream
    extends java.io.FilterOutputStream
    implements LittleEndianOutput
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void putUShort​(int value)
      Put unsigned short into output stream
      void write​(byte[] b)  
      void write​(byte[] b, int off, int len)  
      void writeByte​(int v)  
      void writeDouble​(double v)  
      void writeInt​(int v)  
      void writeLong​(long v)  
      void writeShort​(int v)  
      void writeUInt​(long value)
      Put unsigned int into output stream
      • Methods inherited from class java.io.FilterOutputStream

        close, flush, write
      • Methods inherited from class java.io.OutputStream

        nullOutputStream
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LittleEndianOutputStream

        public LittleEndianOutputStream​(java.io.OutputStream out)
    • Method Detail

      • write

        public void write​(byte[] b)
        Specified by:
        write in interface LittleEndianOutput
        Overrides:
        write in class java.io.FilterOutputStream
      • write

        public void write​(byte[] b,
                          int off,
                          int len)
        Specified by:
        write in interface LittleEndianOutput
        Overrides:
        write in class java.io.FilterOutputStream
      • writeUInt

        public void writeUInt​(long value)
        Put unsigned int into output stream
        Parameters:
        value - the int (32-bit) value
      • putUShort

        public void putUShort​(int value)
        Put unsigned short into output stream
        Parameters:
        value - the unsigned short (16-bit) value