File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
src/dds.net-connector-csharp.lib/EncodersAndDecoders Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 22
33namespace DDS . Net . Connector . EncodersAndDecoders
44{
5- internal static class PacketPreprocessor
5+ internal class PacketPreprocessor
66 {
7- private static Mutex mutex = new ( ) ;
8- private static byte [ ] previousData = null ! ;
9- private static int previousDataStartIndex = 0 ;
10- private static int previousNextWriteIndex = 0 ;
7+ private Mutex mutex = new ( ) ;
8+ private byte [ ] previousData = null ! ;
9+ private int previousDataStartIndex = 0 ;
10+ private int previousNextWriteIndex = 0 ;
1111
12- internal static void AddData ( PacketFromServer packet )
12+ internal void AddData ( PacketFromServer packet )
1313 {
1414 lock ( mutex )
1515 {
@@ -108,7 +108,7 @@ internal static void AddData(PacketFromServer packet)
108108 }
109109 }
110110
111- internal static byte [ ] GetSingleMessage ( )
111+ internal byte [ ] GetSingleMessage ( )
112112 {
113113 lock ( mutex )
114114 {
You can’t perform that action at this time.
0 commit comments