Mono.Debugger.Soft.Connection.decode_command_header C# (CSharp) Method

decode_command_header() static private method

static private decode_command_header ( byte packet ) : Header
packet byte
return Header
		static Header decode_command_header (byte[] packet) {
			int offset = 0;
			Header res = new Header ();

			decode_int (packet, ref offset);
			res.id = decode_int (packet, ref offset);
			res.flags = decode_byte (packet, ref offset);
			res.command_set = decode_byte (packet, ref offset);
			res.command = decode_byte (packet, ref offset);

			return res;
		}
Connection