Package mindustry.net
Class ArcNetProvider.PacketSerializer
java.lang.Object
mindustry.net.ArcNetProvider.PacketSerializer
- All Implemented Interfaces:
NetSerializer
- Enclosing class:
- ArcNetProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionread
(ByteBuffer byteBuffer) readFramework
(ByteBuffer buffer) void
write
(ByteBuffer byteBuffer, Object o) void
writeFramework
(ByteBuffer buffer, FrameworkMessage message) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface arc.net.NetSerializer
getLengthLength, readLength, writeLength
-
Constructor Details
-
PacketSerializer
public PacketSerializer()
-
-
Method Details
-
read
- Specified by:
read
in interfaceNetSerializer
-
write
- Specified by:
write
in interfaceNetSerializer
-
writeFramework
-
readFramework
-