Class BinaryWriter

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

    public class BinaryWriter
    extends java.io.FilterOutputStream
    Basically DataOutputStream, but the bytes are parsed in reverse order
    • Field Summary

      • Fields inherited from class java.io.FilterOutputStream

        out
    • Constructor Summary

      Constructors 
      Constructor Description
      BinaryWriter​(java.io.OutputStream out)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void writeBoolean​(boolean v)  
      void writeByte​(byte v)  
      void writeChar​(char v)  
      void writeDouble​(double v)  
      void writeFloat​(float v)  
      void writeInt​(int v)  
      void writeLong​(long v)  
      void writeShort​(short v)  
      • Methods inherited from class java.io.FilterOutputStream

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

        nullOutputStream
      • Methods inherited from class java.lang.Object

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

      • BinaryWriter

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

      • writeInt

        public void writeInt​(int v)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • writeShort

        public void writeShort​(short v)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • writeLong

        public void writeLong​(long v)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • writeFloat

        public void writeFloat​(float v)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • writeDouble

        public void writeDouble​(double v)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • writeBoolean

        public void writeBoolean​(boolean v)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • writeByte

        public void writeByte​(byte v)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • writeChar

        public void writeChar​(char v)
                       throws java.io.IOException
        Throws:
        java.io.IOException