Class StreamHead

java.lang.Object
com.xpdustry.claj.common.net.stream.StreamHead
All Implemented Interfaces:
StreamPacket, Packet

public class StreamHead extends Object implements StreamPacket
invalid reference
mindustry.net.Packets.StreamBegin
.
  • Field Details

    • MAX_STREAM_SIZE

      public static final int MAX_STREAM_SIZE
      See Also:
    • id

      public int id
    • total

      public int total
    • type

      public byte type
    • compressed

      public boolean compressed
  • Constructor Details

    • StreamHead

      public StreamHead()
  • Method Details

    • read

      public void read(arc.util.io.ByteBufferInput in)
      Specified by:
      read in interface Packet
    • write

      public void write(arc.util.io.ByteBufferOutput out)
      Specified by:
      write in interface Packet