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

Method_GetBody() public method

public Method_GetBody ( long id ) : MethodBodyInfo
id long
return MethodBodyInfo
		public MethodBodyInfo Method_GetBody (long id) {
			var res = SendReceive (CommandSet.METHOD, (int)CmdMethod.GET_BODY, new PacketWriter ().WriteId (id));

			MethodBodyInfo info = new MethodBodyInfo ();
			info.il = new byte [res.ReadInt ()];
			for (int i = 0; i < info.il.Length; ++i)
				info.il [i] = (byte)res.ReadByte ();

			return info;
		}
Connection