Package mindustry.net

Class Streamable.StreamBuilder

java.lang.Object
mindustry.net.Streamable.StreamBuilder
Enclosing class:
Streamable

public static class Streamable.StreamBuilder extends Object
  • Field Details

    • id

      public final int id
    • type

      public final byte type
    • total

      public final int total
    • stream

      public final ByteArrayOutputStream stream
  • Constructor Details

  • Method Details

    • progress

      public float progress()
    • add

      public void add(byte[] bytes)
    • build

      public Streamable build()
    • isDone

      public boolean isDone()