22 using System.Collections.Generic;
26 namespace Ntp.Analyzer.Monitor.Server
32 Buffer =
new byte[size];
39 private string Content => Encoding.UTF8.GetString(Buffer);
41 internal string Command => Content != null ? Content.Split(
' ')[0] :
string.Empty;
43 internal string[] Arguments
50 var args =
new List<string>(Content.Split(
' '));
53 return args.ToArray();
59 var newBuffer =
new byte[size];
61 for (
int i = 0; i < size; i++)
62 newBuffer[i] = Buffer[i];
Request(int size, Socket sock)