Package w.util.io

Interface ByteOutput

All Known Implementing Classes:
AbstractByteOutput, CappedByteOutput, UncappedByteOutput

public interface ByteOutput
Author:
whilein
  • Method Details

    • write

      @NotNull @NotNull ByteOutput write(int i)
    • write

      @NotNull @NotNull ByteOutput write(@NotNull @NotNull String text)
    • write

      @NotNull @NotNull ByteOutput write(byte @NotNull [] bytes)
    • write

      @NotNull @NotNull ByteOutput write(byte @NotNull [] bytes, int off, int len)
    • setPosition

      void setPosition(int position)
    • setLength

      void setLength(int size)
    • getPosition

      int getPosition()
    • getLength

      int getLength()
    • getCapacity

      int getCapacity()
    • toByteArray

      byte @NotNull [] toByteArray()
    • toString

      @NotNull @NotNull String toString()
      Overrides:
      toString in class Object