Package org.cyclops.cyclopscore.network
Interface PacketCodec.ICodecAction
- Enclosing class:
- PacketCodec
public static interface PacketCodec.ICodecAction
-
Method Summary
-
Method Details
-
encode
Encode the given object.- Parameters:
object
- The object to encode into the output.output
- The byte array to encode to.
-
decode
Decode from the input.- Parameters:
input
- The byte array to decode from.- Returns:
- The object to return after reading it from the input.
-