Interface IntWriter

All Known Subinterfaces:
LongWriter
All Known Implementing Classes:
Leb128Writer, Leb128Writer.OfSigned, Leb128Writer.OfUnsigned, VlqWriter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IntWriter
An interface for writing int values.
Author:
Jin Kwon <onacit_at_gmail.com>
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writeInt(BitOutput output, int value)
    Writes specified value to specified output.
  • Method Details

    • writeInt

      void writeInt(BitOutput output, int value) throws IOException
      Writes specified value to specified output.
      Parameters:
      output - the output to which the value is written.
      value - the value to write.
      Throws:
      IOException - if an I/O error occurs.