You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Graham
1bb244b7f7
Move length encoding/decoding from Rs2{Decoder,Encoder} to PacketCodec
...
There are now three additional abstract PacketCodec classes:
FixedPacketCodec, VariableBytePacketCodec and VariableShortPacketCodec.
The PacketLength class has been removed, as it is no longer required.
The main reason for this change is that the create suggested names
packet is a bit of an oddball: its length field measures the size of the
packet in longs, not bytes. The codec for this packet will be able to
inherit from PacketCodec directly to implement the custom length logic.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
..
jaggrab
Split protocol packages into upstream/downstream packages
2 years ago
js5
Split protocol packages into upstream/downstream packages
2 years ago
EmptyPacket.kt
Add initial implementation of the RS framing layer
3 years ago
FixedPacket.kt
Add initial implementation of the RS framing layer
3 years ago
LengthMismatchPacketCodec.kt
Move length encoding/decoding from Rs2{Decoder,Encoder} to PacketCodec
2 years ago
Rs2DecoderTest.kt
Move length encoding/decoding from Rs2{Decoder,Encoder} to PacketCodec
2 years ago
Rs2EncoderTest.kt
Move length encoding/decoding from Rs2{Decoder,Encoder} to PacketCodec
2 years ago
TestEmptyPacketCodec.kt
Add initial implementation of the RS framing layer
3 years ago
TestFixedPacketCodec.kt
Move length encoding/decoding from Rs2{Decoder,Encoder} to PacketCodec
2 years ago
TestStreamCipher.kt
Add initial implementation of the RS framing layer
3 years ago
TestVariableBytePacketCodec.kt
Move length encoding/decoding from Rs2{Decoder,Encoder} to PacketCodec
2 years ago
TestVariableShortPacketCodec.kt
Move length encoding/decoding from Rs2{Decoder,Encoder} to PacketCodec
2 years ago
VariableByteOptimisedPacket.kt
Add initial implementation of the RS framing layer
3 years ago
VariableByteOptimisedPacketCodec.kt
Move length encoding/decoding from Rs2{Decoder,Encoder} to PacketCodec
2 years ago
VariableBytePacket.kt
Add initial implementation of the RS framing layer
3 years ago
VariableShortOptimisedPacket.kt
Add initial implementation of the RS framing layer
3 years ago
VariableShortOptimisedPacketCodec.kt
Move length encoding/decoding from Rs2{Decoder,Encoder} to PacketCodec
2 years ago
VariableShortPacket.kt
Add initial implementation of the RS framing layer
3 years ago