public MethodInfo Method_GetInfo (long id) {
var res = SendReceive (CommandSet.METHOD, (int)CmdMethod.GET_INFO, new PacketWriter ().WriteId (id));
MethodInfo info = new MethodInfo ();
info.attributes = res.ReadInt ();
info.iattributes = res.ReadInt ();
info.token = res.ReadInt ();
return info;
}