Package w.util.io

Class UncappedByteOutput

java.lang.Object
w.util.io.AbstractByteOutput
w.util.io.UncappedByteOutput
All Implemented Interfaces:
ByteOutput

public final class UncappedByteOutput extends AbstractByteOutput
Author:
whilein
  • Method Details

    • create

      @NotNull public static @NotNull ByteOutput create(int initialCap)
    • create

      @NotNull public static @NotNull ByteOutput create()
    • ensure

      protected void ensure(int count)
      Specified by:
      ensure in class AbstractByteOutput
    • setLength

      public void setLength(int length)
    • getLength

      public int getLength()
    • toString

      @NotNull public @NotNull String toString()
      Specified by:
      toString in interface ByteOutput
      Overrides:
      toString in class Object
    • toByteArray

      public byte @NotNull [] toByteArray()