private static uint GetCompressData(int receiveTimes, BinaryReader reader) { uint result = 0; while (receiveTimes > 0) { result = result << 8; result |= _byteSerializer.Read(reader); receiveTimes--; } return(result); }