Interface ByteOutput

All Known Implementing Classes:
AbstractByteOutput, BufferByteOutput, ChannelByteOutput, DataByteOutput, StreamByteOutput
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 ByteOutput
An interface for writing bytes.
Author:
Jin Kwon <jinahya_at_gmail.com>
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(int value)
    Writes specified unsigned 8-bit byte value.
  • Method Details

    • write

      void write(int value) throws IOException
      Writes specified unsigned 8-bit byte value.
      Parameters:
      value - the unsigned 8-bit byte value to write; between 0 and 255, both inclusive.
      Throws:
      IOException - if an I/O error occurs.