public List <long> ReadAllAsInts() { var results = new List <long>(); while (cmdCount-- > 0) { results.Add(client.ReadLong()); } return(results); }