public LocalsInfo Method_GetLocalsInfo (long id) {
var res = SendReceive (CommandSet.METHOD, (int)CmdMethod.GET_LOCALS_INFO, new PacketWriter ().WriteId (id));
LocalsInfo info = new LocalsInfo ();
int nlocals = res.ReadInt ();
info.types = new long [nlocals];
for (int i = 0; i < nlocals; ++i)
info.types [i] = res.ReadId ();
info.names = new string [nlocals];
for (int i = 0; i < nlocals; ++i)
info.names [i] = res.ReadString ();
info.live_range_start = new int [nlocals];
info.live_range_end = new int [nlocals];
for (int i = 0; i < nlocals; ++i) {
info.live_range_start [i] = res.ReadInt ();
info.live_range_end [i] = res.ReadInt ();
}
return info;
}