Class NetStreamInput
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.
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new StreamNetInput instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.bytereadByte()Deprecated.intreadBytes(byte[] b) Deprecated.intreadBytes(byte[] b, int offset, int length) Deprecated.byte[]readBytes(int length) Deprecated.charreadChar()Deprecated.doubleDeprecated.floatDeprecated.intreadInt()Deprecated.int[]readInts(int length) Deprecated.intreadInts(int[] i) Deprecated.intreadInts(int[] i, int offset, int length) Deprecated.longreadLong()Deprecated.long[]readLongs(int length) Deprecated.intreadLongs(long[] l) Deprecated.intreadLongs(long[] l, int offset, int length) Deprecated.shortDeprecated.short[]readShorts(int length) Deprecated.intreadShorts(short[] s) Deprecated.intreadShorts(short[] s, int offset, int length) Deprecated.Deprecated.intDeprecated.intDeprecated.readUUID()Deprecated.intDeprecated.longDeprecated.Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
NetStreamInput
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
Deprecated. -
readUUID
Deprecated.
-