clean import

This commit is contained in:
2024-04-21 20:02:05 -05:00
parent 177ce011a8
commit fc3386f638
@@ -1,5 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
using Serilog;
namespace SharpOSC namespace SharpOSC
{ {
@@ -9,7 +8,6 @@ namespace SharpOSC
public static readonly byte ESC = 0xdb; public static readonly byte ESC = 0xdb;
public static readonly byte ESC_END = 0xDC; public static readonly byte ESC_END = 0xDC;
public static readonly byte ESC_ESC = 0xDD; public static readonly byte ESC_ESC = 0xDD;
public static ILogger _log = Log.Logger.ForContext<TCPClient>();
public static List<byte[]> Decode(byte[] data) public static List<byte[]> Decode(byte[] data)
{ {
@@ -19,7 +17,6 @@ namespace SharpOSC
bool escapeNext = false; bool escapeNext = false;
for (int i = 0; i < data.Length; i++) for (int i = 0; i < data.Length; i++)
{ {
_log.Information(data[1].ToString());
if (data[i] == ESC) if (data[i] == ESC)
{ {
escapeNext = true; escapeNext = true;