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

public class NetStreamInput extends FilterInputStream
  • Constructor Details

    • NetStreamInput

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

    • readBoolean

      public boolean readBoolean()
    • readByte

      public byte readByte()
    • readUnsignedByte

      public int readUnsignedByte()
    • readShort

      public short readShort()
    • readUnsignedShort

      public int readUnsignedShort()
    • readChar

      public char readChar()
    • readInt

      public int readInt()
    • readVarInt

      public int readVarInt()
    • readLong

      public long readLong()
    • readVarLong

      public long readVarLong()
    • readFloat

      public float readFloat()
    • readDouble

      public double readDouble()
    • readBytes

      public byte[] readBytes(int length)
    • readBytes

      public int readBytes(byte[] b)
    • readBytes

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

      public short[] readShorts(int length)
    • readShorts

      public int readShorts(short[] s)
    • readShorts

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

      public int[] readInts(int length)
    • readInts

      public int readInts(int[] i)
    • readInts

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

      public long[] readLongs(int length)
    • readLongs

      public int readLongs(long[] l)
    • readLongs

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

      public String readString()
    • readUUID

      public UUID readUUID()