Class BinaryWriter.Writer

    • Field Detail

      • flushTarget

        protected final java.io.OutputStream flushTarget
      • bos

        protected final java.io.ByteArrayOutputStream bos
      • offset

        protected final int offset
    • Constructor Detail

      • Writer

        protected Writer​(java.io.OutputStream flushTarget,
                         int offset)
    • Method Detail

      • writeByte

        public void writeByte​(byte value)
      • writeUnsignedLeb128

        public void writeUnsignedLeb128​(int value)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • writeSignedLeb128

        public void writeSignedLeb128​(int value)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • writeSignedLeb128

        public void writeSignedLeb128​(long value)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • writeUTF8

        public void writeUTF8​(java.lang.String value)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • writeFloat32

        public void writeFloat32​(float value)
      • writeDouble64

        public void writeDouble64​(double value)
      • writeInteger32

        public void writeInteger32​(int value)
      • writeLong64

        public void writeLong64​(long value)