Class NetStreamOutput

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.github.retrooper.packetevents.protocol.stream.NetStreamOutput
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class NetStreamOutput extends FilterOutputStream
  • Constructor Details

    • NetStreamOutput

      public NetStreamOutput(OutputStream out)
  • Method Details

    • writeBoolean

      public void writeBoolean(boolean b)
    • writeByte

      public void writeByte(int b)
    • writeShort

      public void writeShort(int s)
    • writeChar

      public void writeChar(int c)
    • writeInt

      public void writeInt(int i)
    • writeVarInt

      public void writeVarInt(int i)
    • writeLong

      public void writeLong(long l)
    • writeVarLong

      public void writeVarLong(long l)
    • writeFloat

      public void writeFloat(float f)
    • writeDouble

      public void writeDouble(double d)
    • writeBytes

      public void writeBytes(byte[] b)
    • writeBytes

      public void writeBytes(byte[] b, int length)
    • writeShorts

      public void writeShorts(short[] s)
    • writeShorts

      public void writeShorts(short[] s, int length)
    • writeInts

      public void writeInts(int[] i)
    • writeInts

      public void writeInts(int[] i, int length)
    • writeLongs

      public void writeLongs(long[] l)
    • writeLongs

      public void writeLongs(long[] l, int length)
    • writeString

      public void writeString(String s)
    • writeUUID

      public void writeUUID(UUID uuid)