Package us.donut.mmc
Class InboundPacket
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- java.io.DataInputStream
-
- us.donut.mmc.Client.ClientInputStream
-
- us.donut.mmc.InboundPacket
-
- All Implemented Interfaces:
Closeable,DataInput,AutoCloseable
public class InboundPacket extends Client.ClientInputStream
Represents a packet coming from a server.
-
-
Field Summary
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedInboundPacket(byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPacketID()-
Methods inherited from class us.donut.mmc.Client.ClientInputStream
readString, readUUID, readVarInt, readVarLong
-
Methods inherited from class java.io.DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Constructor Detail
-
InboundPacket
protected InboundPacket(byte[] bytes) throws IOException- Throws:
IOException
-
-