java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.github.retrooper.packetevents.protocol.stream.NetStreamInput
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
NetStreamInputWrapper

@Deprecated public class NetStreamInput extends FilterInputStream
Deprecated.
  • Constructor Details

    • NetStreamInput

      public NetStreamInput(InputStream in)
      Deprecated.
      Creates a new StreamNetInput instance.
      Parameters:
      in - InputStream to read from.
  • Method Details

    • readBoolean

      public boolean readBoolean()
      Deprecated.
    • readByte

      public byte readByte()
      Deprecated.
    • readUnsignedByte

      public int readUnsignedByte()
      Deprecated.
    • readShort

      public short readShort()
      Deprecated.
    • readUnsignedShort

      public int readUnsignedShort()
      Deprecated.
    • readChar

      public char readChar()
      Deprecated.
    • readInt

      public int readInt()
      Deprecated.
    • readVarInt

      public int readVarInt()
      Deprecated.
    • readLong

      public long readLong()
      Deprecated.
    • readVarLong

      public long readVarLong()
      Deprecated.
    • readFloat

      public float readFloat()
      Deprecated.
    • readDouble

      public double readDouble()
      Deprecated.
    • readBytes

      public byte[] readBytes(int length)
      Deprecated.
    • readBytes

      public int readBytes(byte[] b)
      Deprecated.
    • readBytes

      public int readBytes(byte[] b, int offset, int length)
      Deprecated.
    • readShorts

      public short[] readShorts(int length)
      Deprecated.
    • readShorts

      public int readShorts(short[] s)
      Deprecated.
    • readShorts

      public int readShorts(short[] s, int offset, int length)
      Deprecated.
    • readInts

      public int[] readInts(int length)
      Deprecated.
    • readInts

      public int readInts(int[] i)
      Deprecated.
    • readInts

      public int readInts(int[] i, int offset, int length)
      Deprecated.
    • readLongs

      public long[] readLongs(int length)
      Deprecated.
    • readLongs

      public int readLongs(long[] l)
      Deprecated.
    • readLongs

      public int readLongs(long[] l, int offset, int length)
      Deprecated.
    • readString

      public String readString()
      Deprecated.
    • readUUID

      public UUID readUUID()
      Deprecated.