mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-19 22:24:18 +00:00
clean import
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user